41 patchCorrectedInterpolation,
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);
label findPatchID(const word &patchName, const bool allowNotFound=true) const
Find patch index given a name, return -1 if not found.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const fvMesh & mesh() const
Return const-reference to the mesh.
virtual void interpolate(const volScalarField &, pointScalarField &) const
Interpolate the given scalar cell displacement.
List< labelList > labelListList
List of labelList.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
patchCorrectedInterpolation(const fvMesh &mesh, Istream &entry)
Construct from an fvMesh and an Istream.
const polyBoundaryMesh & boundaryMesh() const noexcept
Return boundary mesh.
Base class for interpolation of cell displacement fields, generated by fvMotionSolvers, to the points. This base class implements the default method which applies volPointInterpolation only.
defineTypeNameAndDebug(combustionModel, 0)
Mesh data needed to do the Finite Volume discretisation.
virtual ~patchCorrectedInterpolation()
Destructor.
A keyword and a list of tokens is an 'entry'.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)