32 void Foam::fvBoundaryMesh::addPatches(
const polyBoundaryMesh& basicBdry)
67 addPatches(basicBdry);
93 const bool usePatchGroups
117 const bool validBoundary
131 if (isA<lduInterface>(this->
operator[](
patchi)))
136 &refCast<const lduInterface>(this->
operator[](
patchi))
150 addPatches(basicBdry);
158 const word& patchName
166 <<
"Patch named " << patchName <<
" not found." <<
nl 176 const word& patchName
184 <<
"Patch named " << patchName <<
" not found." <<
nl const fvPatchList & patches
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
virtual void initMovePoints()
Initialise the patches for moving points.
#define forAll(list, i)
Loop across all elements in list.
#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.
fvBoundaryMesh(const fvMesh &)
Construct with zero size.
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.
const fvMesh & mesh() const
Return the mesh reference.
A class for handling words, derived from string.
void shuffle(const labelUList &newToOld, const bool validBoundary)
Reorders patches. Ordering does not have to be done in.
errorManip< error > abort(error &err)
A wordRe is a word, but can also have a regular expression for matching words.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
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 wordRe &, const bool useGroups) const
Find patch indices given a name.
void movePoints()
Correct patches after moving points.
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
void shuffle(const labelUList &newToOld)
Reorders elements. Ordering does not have to be done in.
static autoPtr< fvPatch > New(const polyPatch &, const fvBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
labelList findIndices(const wordRe &, const bool usePatchGroups=true) const
Return patch indices for all matches. Optionally matches patchGroups.
virtual void movePoints()
Correct patches after moving points.