use total number of cells/points in parallel

This commit is contained in:
mattijs
2009-04-30 15:43:20 +01:00
parent fb1256521a
commit cb97fa675e
4 changed files with 8 additions and 8 deletions

View File

@ -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
);