Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
180cb0bb
Commit
180cb0bb
authored
Dec 20, 2012
by
laurence
Browse files
ENH: cvMesh: Construct cvMesh object after checkGeometry
parent
622f06c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/generation/cvMesh/cvMesh.C
View file @
180cb0bb
...
...
@@ -64,14 +64,22 @@ int main(int argc, char *argv[])
)
);
conformalVoronoiMesh
::
debug
=
true
;
conformalVoronoiMesh
mesh
(
runTime
,
cvMeshDict
);
if
(
checkGeometry
)
{
const
searchableSurfaces
&
allGeometry
=
mesh
.
allGeometry
();
const
searchableSurfaces
allGeometry
(
IOobject
(
"cvSearchableSurfaces"
,
runTime
.
constant
(),
"triSurface"
,
runTime
,
IOobject
::
MUST_READ
,
IOobject
::
NO_WRITE
),
cvMeshDict
.
subDict
(
"geometry"
)
);
// Write some stats
allGeometry
.
writeStats
(
List
<
wordList
>
(
0
),
Info
);
...
...
@@ -91,6 +99,11 @@ int main(int argc, char *argv[])
}
conformalVoronoiMesh
::
debug
=
true
;
conformalVoronoiMesh
mesh
(
runTime
,
cvMeshDict
);
while
(
runTime
.
loop
())
{
Info
<<
nl
<<
"Time = "
<<
runTime
.
timeName
()
<<
endl
;
...
...
Write
Preview
Supports
Markdown
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