Go to the documentation of this file.
67 addPatches(basicBdry);
93 const bool usePatchGroups
104 operator[](patchI).initMovePoints();
109 operator[](patchI).movePoints();
118 forAll(interfaces, patchI)
120 if (isA<lduInterface>(this->
operator[](patchI)))
125 &refCast<const lduInterface>(this->
operator[](patchI))
137 addPatches(basicBdry);
145 const word& patchName
153 <<
"Patch named " << patchName <<
" not found." <<
nl
157 return operator[](patchI);
163 const word& patchName
171 <<
"Patch named " << patchName <<
" not found." <<
nl
175 return operator[](patchI);
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
label findPatchID(const word &patchName) const
Find patch index given a name.
fvBoundaryMesh(const fvBoundaryMesh &)
Disable default copy construct.
static autoPtr< fvPatch > New(const polyPatch &, const fvBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
void readUpdate(const polyBoundaryMesh &)
Update boundary based on new polyBoundaryMesh.
void addPatches(const polyBoundaryMesh &)
Add fvPatches corresponding to the given polyBoundaryMesh.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
PtrList< fvPatch > fvPatchList
container classes for fvPatch
A class for handling keywords in dictionaries.
bool set(const label) const
Is element set.
labelList findIndices(const keyType &, const bool usePatchGroups=true) const
Return patch indices for all matches. Optionally matches patchGroups.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
label findPatchID(const polyBoundaryMesh &patches, const word &name)
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
labelList findIndices(const keyType &, const bool useGroups) const
Find patch indices given a name.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool set(const label) const
Is element set.
label size() const
Return the number of elements in the PtrList.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
friend Ostream & operator(Ostream &, const PtrList< T > &)
word name(const complex &)
Return a string representation of a complex.
void movePoints()
Correct patches after moving points.