ENH: Not recalculating size and alignment when meshing is over.

This commit is contained in:
graham
2010-09-28 18:56:48 +01:00
parent d8d8ee60dc
commit a130676ca8
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,7 @@ int main(int argc, char *argv[])
"cvMeshDict",
runTime.system(),
runTime,
IOobject::MUST_READ_IF_MODIFIED,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);

View File

@ -924,7 +924,8 @@ void Foam::conformalVoronoiMesh::updateSizesAndAlignments
{
if
(
runTime_.timeIndex()
runTime_.run()
&& runTime_.timeIndex()
% cvMeshControls().sizeAndAlignmentRebuildFrequency() == 0
)
{