32 void Foam::fvBoundaryMesh::addPatches(
const polyBoundaryMesh& basicBdry)
48 Foam::fvBoundaryMesh::fvBoundaryMesh
58 Foam::fvBoundaryMesh::fvBoundaryMesh
67 addPatches(basicBdry);
93 const bool usePatchGroups
120 if (isA<lduInterface>(this->
operator[](
patchi)))
125 &refCast<const lduInterface>(this->
operator[](
patchi))
139 addPatches(basicBdry);
147 const word& patchName
155 <<
"Patch named " << patchName <<
" not found." <<
nl 165 const word& patchName
173 <<
"Patch named " << patchName <<
" not found." <<
nl const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A class for handling keywords in dictionaries.
virtual void initMovePoints()
Initialise the patches for moving points.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label findPatchID(const word &patchName) const
Find patch index given a name.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
friend Ostream & operator(Ostream &, const UPtrList< T > &)
Write UPtrList to Ostream.
void readUpdate(const polyBoundaryMesh &)
Update boundary based on new polyBoundaryMesh.
const fvPatch & operator[](const word &) const
Return const reference to fvPatch by name.
labelList findIndices(const keyType &, const bool useGroups) const
Find patch indices given a name.
const fvMesh & mesh() const
Return the mesh reference.
A class for handling words, derived from string.
errorManip< error > abort(error &err)
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
bool set(const label) const
Is element set.
lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
word name(const complex &)
Return a string representation of a complex.
label size() const
Return the number of elements in the UPtrList.
PtrList< fvPatch > fvPatchList
container classes for fvPatch
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
labelList findIndices(const keyType &, const bool usePatchGroups=true) const
Return patch indices for all matches. Optionally matches patchGroups.
void movePoints()
Correct patches after moving points.
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
static autoPtr< fvPatch > New(const polyPatch &, const fvBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
virtual void movePoints()
Correct patches after moving points.