mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Do not do updateSizesAndAlignments in parallel.
This commit is contained in:
@ -1507,9 +1507,13 @@ void Foam::conformalVoronoiMesh::updateSizesAndAlignments
|
||||
const std::list<Point>& storePts
|
||||
)
|
||||
{
|
||||
// This function is only used in serial, the background redistribution
|
||||
// triggers this when unbalance is detected in parallel.
|
||||
|
||||
if
|
||||
(
|
||||
runTime_.run()
|
||||
!Pstream::parRun()
|
||||
&& runTime_.run()
|
||||
&& runTime_.timeIndex()
|
||||
% cvMeshControls().sizeAndAlignmentRebuildFrequency() == 0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user