Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
956bb80f
Commit
956bb80f
authored
12 years ago
by
laurence
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Add intersection function with same signature as the function in face
parent
9064e37d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/OpenFOAM/meshes/meshShapes/triFace/triFace.H
+11
-1
11 additions, 1 deletion
src/OpenFOAM/meshes/meshShapes/triFace/triFace.H
src/OpenFOAM/meshes/meshShapes/triFace/triFaceI.H
+15
-1
15 additions, 1 deletion
src/OpenFOAM/meshes/meshShapes/triFace/triFaceI.H
with
26 additions
and
2 deletions
src/OpenFOAM/meshes/meshShapes/triFace/triFace.H
+
11
−
1
View file @
956bb80f
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
2
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -169,6 +169,16 @@ public:
const
scalar
tol
=
0.0
)
const
;
inline
pointHit
intersection
(
const
point
&
p
,
const
vector
&
q
,
const
point
&
ctr
,
const
pointField
&
points
,
const
intersection
::
algorithm
alg
,
const
scalar
tol
=
0.0
)
const
;
//- Return nearest point to face
inline
pointHit
nearestPoint
(
...
...
This diff is collapsed.
Click to expand it.
src/OpenFOAM/meshes/meshShapes/triFace/triFaceI.H
+
15
−
1
View file @
956bb80f
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -273,6 +273,20 @@ inline Foam::pointHit Foam::triFace::intersection
}
inline
Foam
::
pointHit
Foam
::
triFace
::
intersection
(
const
point
&
p
,
const
vector
&
q
,
const
point
&
ctr
,
const
pointField
&
points
,
const
intersection
::
algorithm
alg
,
const
scalar
tol
)
const
{
return
intersection
(
p
,
q
,
points
,
alg
,
tol
);
}
inline
Foam
::
pointHit
Foam
::
triFace
::
nearestPoint
(
const
point
&
p
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment