Go to the documentation of this file.
34 void Foam::fvBoundaryMesh::addPatches(
const polyBoundaryMesh& basicBdry)
43 Patches.set(patchi,
fvPatch::New(basicBdry[patchi], *
this));
50 Foam::fvBoundaryMesh::fvBoundaryMesh
60 Foam::fvBoundaryMesh::fvBoundaryMesh
69 addPatches(basicBdry);
97 if (patchName.empty())
161 list.set(patchi, lduPtr);
174 addPatches(basicBdry);
182 const word& patchName
185 const label patchi = findPatchID(patchName);
190 <<
"Patch named " << patchName <<
" not found." <<
nl
194 return operator[](patchi);
200 const word& patchName
203 const label patchi = findPatchID(patchName);
208 <<
"Patch named " << patchName <<
" not found." <<
nl
212 return operator[](patchi);
A class for handling words, derived from Foam::string.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
labelList indices(const wordRe &matcher, const bool useGroups) const
Return (sorted) patch indices for all matches.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
label findPatchID(const word &patchName) const
Find patch index given a name.
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.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
#define forAll(list, i)
Loop across all elements in list.
PtrList< fvPatch > fvPatchList
container classes for fvPatch
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void setSize(const label newLen)
Same as resize()
lduInterfacePtrsList interfaces() const
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
UPtrList< const labelUList > faceCells() const
Return a list of faceCells for each patch.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
labelList indices(const wordRe &matcher, const bool useGroups=true) const
Return (sorted) patch indices for all matches.
A List of wordRe with additional matching capabilities.
const polyBoundaryMesh & patches
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Smooth ATC in cells next to a set of patches supplied by type.
void movePoints()
Correct patches after moving points.