53 if (!isA<processorPolyPatch>(patch))
59 if (isA<processorPolyPatch>(pp))
79 void Foam::fvMeshTools::setPatchFields
86 #define SetPatchFieldsType(Type, FieldType, Mesh) \
87 setPatchFields<FieldType<Type>>(Mesh, patchi, patchFieldDict);
99 #undef SetPatchFieldsType
107 const label nNewPatches,
108 const bool validBoundary
117 label newi = oldToNew[i];
118 if (newi >= 0 && newi < nNewPatches)
#define forAll(list, i)
Loop across all elements in list.
static pointMesh & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
Generic GeometricField class.
label size() const
Return the number of elements in the UPtrList.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh data needed to do the Finite Volume discretisation.
virtual void reorderPatches(const labelUList &newToOld, const bool validBoundary)
Reorder and trim existing patches. If validBoundary the new.
virtual void addPatch(const label insertPatchi, const polyPatch &patch)
Add/insert single patch.
bool foundObject(const word &name) const
Is the named Type in registry.
const word & name() const
Return name.
Mesh representing a set of points created from polyMesh.
label findIndex(const word &patchName) const
Find patch index given a name.
void addedPatches()
Complete addition of single patches.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A patch is a list of labels that address the faces in the global face list.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)