diff --git a/src/meshTools/cellClassification/cellClassification.C b/src/meshTools/cellClassification/cellClassification.C index 9adf4c6526e9929bcbfdf27ed79a158715e0bb92..f54876c9c5071e2319e4168272b66081f0021d8e 100644 --- a/src/meshTools/cellClassification/cellClassification.C +++ b/src/meshTools/cellClassification/cellClassification.C @@ -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 diff --git a/src/meshTools/cellDist/patchWave/patchDataWave.C b/src/meshTools/cellDist/patchWave/patchDataWave.C index 4bd42721ba521a88730f7d31c0ab0613636b838c..b22a110be625c0a644a7cb0390cd2bbe44c62887 100644 --- a/src/meshTools/cellDist/patchWave/patchDataWave.C +++ b/src/meshTools/cellDist/patchWave/patchDataWave.C @@ -226,7 +226,7 @@ void Foam::patchDataWave<TransferType>::correct() mesh(), changedFaces, faceDist, - mesh().nCells() // max iterations + mesh().globalData().nTotalCells() // max iterations ); diff --git a/src/meshTools/cellDist/patchWave/patchWave.C b/src/meshTools/cellDist/patchWave/patchWave.C index 7cb37059258ec7b7ad8ff489c9b471225a644932..f48d3835598b730a0b441d8a0a040602c1d19b9e 100644 --- a/src/meshTools/cellDist/patchWave/patchWave.C +++ b/src/meshTools/cellDist/patchWave/patchWave.C @@ -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 ); diff --git a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C index 7b836c60ee76c303e4da826a1314e80ed37e3246..bea05e99733771e7afcdcd06217eb60192f0fec5 100644 --- a/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C +++ b/src/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.C @@ -138,7 +138,7 @@ void smoothDelta::calcDelta() changedFacesInfo, faceDeltaData, cellDeltaData, - mesh_.nCells() // max iterations + mesh_.globalData().nTotalCells() // max iterations ); forAll(delta_, cellI)