54 List<List<word>> patchGroupNames(entry);
58 forAll(patchGroupNames, patchI)
60 patchGroups[patchI].resize(patchGroupNames[patchI].size());
62 forAll(patchGroupNames[patchI], patchJ)
64 patchGroups[patchI][patchJ] =
67 patchGroupNames[patchI][patchJ]
70 if (patchGroups[patchI][patchJ] == -1)
73 <<
"patch \"" << patchGroupNames[patchI][patchJ]
92 patchGroups_(getPatchGroups(
entry))
110 interpolateType(cellDisplacement, pointDisplacement);
120 interpolateType(cellDisplacement, pointDisplacement);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A keyword and a list of tokens is an 'entry'.
Mesh data needed to do the Finite Volume discretisation.
Base class for interpolation of cell displacement fields, generated by fvMotionSolvers,...
const fvMesh & mesh() const
Return const-reference to the mesh.
Interpolation of cell-based displacements to the points with additional correction for interpolation ...
patchCorrectedInterpolation(const fvMesh &mesh, Istream &entry)
Construct from an fvMesh and an Istream.
virtual void interpolate(const volScalarField &, pointScalarField &) const
Interpolate the given scalar cell displacement.
virtual ~patchCorrectedInterpolation()
Destructor.
label findPatchID(const word &patchName, const bool allowNotFound=true) const
Find patch index given a name, return -1 if not found.
const polyBoundaryMesh & boundaryMesh() const noexcept
Return boundary mesh.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
GeometricField< vector, fvPatchField, volMesh > volVectorField
List< labelList > labelListList
List of labelList.
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define forAll(list, i)
Loop across all elements in list.