58 #ifndef mappedPatchBaseBase_H
59 #define mappedPatchBaseBase_H
218 template<
class PatchField,
class FieldType>
221 const PatchField& field,
229 template<
class PatchField,
class FieldType>
232 const PatchField& field,
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Encapsulates using patchGroups to specify coupled patch.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Base class for engines and poly patches which provide mapping between two poly patches.
const transformer & transform() const
The transformation between the patches.
const polyPatch & nbrPolyPatch() const
Get the patch to map from.
word nbrRegionName_
Name of the region to map from.
word nbrPatchName_
Name of the patch to map from.
bool samePatch() const
Is the neighbour patch the same as this patch?
const polyPatch & patch_
Patch to map to.
virtual void write(Ostream &) const
Write as a dictionary.
const polyMesh & nbrMesh() const
Get the mesh for the region to map from.
const word & nbrPatchName() const
Name of the patch to map from.
cyclicTransform transform_
The transformation between the patches.
virtual ~mappedPatchBaseBase()
Destructor.
void validateForField(const PatchField &field, const FieldType &iF, const dictionary &context, const label froms=from::any) const
Validate that the map is appropriate for the given.
const word & nbrRegionName() const
Name of the region to map from.
bool haveNbr() const
Is the neighbour available?
transformType
The type of the transformation permitted/required by this patch.
TypeName("mappedPatchBaseBase")
Runtime type information.
static const NamedEnum< moveUpdate, 3 > moveUpdateNames_
Names of the move-update conditions.
bool sameUntransformedPatch() const
Is the neighbour patch the same as this patch with no transform?
bool sameRegion() const
Is the neighbour region the same as for this patch?
const moveUpdate moveUpdate_
The condition that triggers re-calculation following motion.
static bool specified(const dictionary &dict)
Return whether or not the given dictionary contains a.
static bool moving(const polyPatch &patch, const polyPatch &nbrPatch)
Return whether or not the patches have moved.
const coupleGroupIdentifier coupleGroup_
Couple group for the region/patch to map from.
static void validateMapForField(const PatchField &field, const FieldType &iF, const dictionary &context, const label froms=from::any)
Validate that the map exists and is appropriate for the given.
moveUpdate
Enumeration for the condition that triggers re-calculation of the.
mappedPatchBaseBase(const polyPatch &)
Construct from patch.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Restrict use of the mapper to certain configurations.
static const label differentPatch
static const label differentRegion
static const label sameRegion