mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
use total number of cells/points in parallel
This commit is contained in:
@ -28,7 +28,7 @@ License
|
||||
#include "polyMesh.H"
|
||||
#include "wallPoint.H"
|
||||
#include "MeshWave.H"
|
||||
|
||||
#include "globalMeshData.H"
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
@ -187,7 +187,7 @@ void Foam::patchWave::correct()
|
||||
mesh(),
|
||||
changedFaces,
|
||||
faceDist,
|
||||
mesh().nCells() // max iterations
|
||||
mesh().globalData().nTotalCells() // max iterations
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user