A collection of tools for operating on an fvMesh. More...
Static Public Member Functions | |
| static label | addPatch (fvMesh &mesh, const polyPatch &patch) |
| Add patch. Inserts patch before all processor patches. Returns the. More... | |
| static void | addedPatches (fvMesh &mesh) |
| Complete adding patches. More... | |
| static void | setPatchFields (fvMesh &mesh, const label patchi, const dictionary &patchFieldDict) |
| Change patchField on registered fields according to dictionary. More... | |
| static void | reorderPatches (fvMesh &, const labelList &oldToNew, const label nPatches, const bool validBoundary) |
| Reorder and remove trailing patches. If validBoundary call is. More... | |
A collection of tools for operating on an fvMesh.
Definition at line 48 of file fvMeshTools.H.
|
static |
Add patch. Inserts patch before all processor patches. Returns the.
index of the added patch.
Definition at line 32 of file fvMeshTools.C.
References fvMesh::addPatch(), polyMesh::boundaryMesh(), polyBoundaryMesh::findIndex(), forAll, mesh, patchIdentifier::name(), patchi, and UPtrList< T >::size().

|
static |
Complete adding patches.
Definition at line 73 of file fvMeshTools.C.
References polyMesh::addedPatches(), and mesh.

|
static |
Change patchField on registered fields according to dictionary.
Definition at line 79 of file fvMeshTools.C.
References Foam::FOR_ALL_FIELD_TYPES(), objectRegistry::foundObject(), mesh, DemandDrivenMeshObject< polyMesh, RepatchableMeshObject, pointMesh >::New(), and SetPatchFieldsType.

|
static |
Reorder and remove trailing patches. If validBoundary call is.
parallel synced and all add the same patch with same settings
Definition at line 103 of file fvMeshTools.C.
References forAll, mesh, and fvMesh::reorderPatches().
