9 PtrList<labelIOList>& faceProcAddressing = procMeshes.faceProcAddressing();
13 const labelList& curFaceAddr = faceProcAddressing[procI];
17 if (
mag(curFaceAddr[faceI]) < minFaceIndex)
19 minFaceIndex =
mag(curFaceAddr[faceI]);
27 <<
"parallel decomposition addressing." <<
endl 28 <<
"It looks like you are trying to reconstruct the case " 29 <<
"decomposed with an earlier version of FOAM, which could\n" 30 <<
"potentially cause compatibility problems. The code will " 31 <<
"attempt to update the addressing automatically; in case of\n" 32 <<
"failure, please repeat the decomposition of the case using " 33 <<
"the current version fo decomposePar" 36 forAll(faceProcAddressing, procI)
38 labelList& curFaceAddr = faceProcAddressing[procI];
42 curFaceAddr[faceI] +=
sign(curFaceAddr[faceI]);
45 faceProcAddressing[procI].write();
forAll(faceProcAddressing, procI)
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar sign(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
const word & executable() const
Name of executable without the path.
Foam::argList args(argc, argv)
List< label > labelList
A List of labels.
static const label labelMax