mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
use total number of cells/points in parallel
This commit is contained in:
@ -323,10 +323,10 @@ void Foam::cellClassification::markCells
|
||||
MeshWave<cellInfo> cellInfoCalc
|
||||
(
|
||||
mesh_,
|
||||
changedFaces, // Labels of changed faces
|
||||
changedFacesInfo, // Information on changed faces
|
||||
cellInfoList, // Information on all cells
|
||||
mesh_.nCells() // max iterations
|
||||
changedFaces, // Labels of changed faces
|
||||
changedFacesInfo, // Information on changed faces
|
||||
cellInfoList, // Information on all cells
|
||||
mesh_.globalData().nTotalCells() // max iterations
|
||||
);
|
||||
|
||||
// Get information out of cellInfoList
|
||||
|
||||
@ -226,7 +226,7 @@ void Foam::patchDataWave<TransferType>::correct()
|
||||
mesh(),
|
||||
changedFaces,
|
||||
faceDist,
|
||||
mesh().nCells() // max iterations
|
||||
mesh().globalData().nTotalCells() // max iterations
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -138,7 +138,7 @@ void smoothDelta::calcDelta()
|
||||
changedFacesInfo,
|
||||
faceDeltaData,
|
||||
cellDeltaData,
|
||||
mesh_.nCells() // max iterations
|
||||
mesh_.globalData().nTotalCells() // max iterations
|
||||
);
|
||||
|
||||
forAll(delta_, cellI)
|
||||
|
||||
Reference in New Issue
Block a user