Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
e709d1a4
Commit
e709d1a4
authored
Sep 08, 2010
by
mattijs
Browse files
ENH: PointEdgeWave : have explicit iterate option
parent
ee67553d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/meshTools/PointEdgeWave/PointEdgeWave.C
View file @
e709d1a4
...
...
@@ -680,6 +680,30 @@ Foam::PointEdgeWave<Type>::PointEdgeWave
}
template
<
class
Type
>
Foam
::
PointEdgeWave
<
Type
>::
PointEdgeWave
(
const
polyMesh
&
mesh
,
List
<
Type
>&
allPointInfo
,
List
<
Type
>&
allEdgeInfo
)
:
mesh_
(
mesh
),
allPointInfo_
(
allPointInfo
),
allEdgeInfo_
(
allEdgeInfo
),
changedPoint_
(
mesh_
.
nPoints
(),
false
),
changedPoints_
(
mesh_
.
nPoints
()),
nChangedPoints_
(
0
),
changedEdge_
(
mesh_
.
nEdges
(),
false
),
changedEdges_
(
mesh_
.
nEdges
()),
nChangedEdges_
(
0
),
nCyclicPatches_
(
countPatchType
<
cyclicPolyPatch
>
()),
nEvals_
(
0
),
nUnvisitedPoints_
(
mesh_
.
nPoints
()),
nUnvisitedEdges_
(
mesh_
.
nEdges
())
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
template
<
class
Type
>
...
...
src/meshTools/PointEdgeWave/PointEdgeWave.H
View file @
e709d1a4
...
...
@@ -275,6 +275,15 @@ public:
const
label
maxIter
);
//- Construct from mesh. Use setPointInfo and iterate() to do
// actual calculation
PointEdgeWave
(
const
polyMesh
&
mesh
,
List
<
Type
>&
allPointInfo
,
List
<
Type
>&
allEdgeInfo
);
//- Destructor
~
PointEdgeWave
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment