75 const word& sampleRegion,
77 const word& samplePatch,
100 const word& sampleRegion,
102 const word& samplePatch,
125 const word& patchType
132 addGroup(mappedPolyPatch::typeName);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
const vector & offset() const noexcept
Offset vector (from patch faces to destination mesh objects).
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
sampleMode
Mesh items to sample.
virtual void write(Ostream &os) const
Write as a dictionary.
mappedPatchBase(const polyPatch &)
Construct from patch.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
const word & samplePatch() const
Patch (only if NEARESTPATCHFACE).
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
sampleMode mode() const noexcept
What to sample.
const word & sampleRegion() const
Region to sample.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
mappedWallPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
virtual ~mappedWallPolyPatch()
Destructor.
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
void write(Ostream &os) const
Write (physicalType, inGroups) dictionary entries (without surrounding braces).
label index() const noexcept
The index of this patch in the boundaryMesh.
void addGroup(const word &name)
Add (unique) group for the patch.
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh,...
A patch is a list of labels that address the faces in the global face list.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
virtual void movePoints(PstreamBuffers &, const pointField &p)
Correct patches after moving points.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
label start() const noexcept
Return start label of this patch in the polyMesh face list.
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
wallPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
mode_t mode(const fileName &name, const bool followLink=true)
Return the file mode, normally following symbolic links.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
Field< vector > vectorField
Specialisation of Field<T> for vector.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.