34void Foam::fvBoundaryMesh::addPatches(
const polyBoundaryMesh& basicBdry)
43 Patches.set(patchi,
fvPatch::New(basicBdry[patchi], *
this));
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 list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
void setSize(const label newLen)
Same as resize()
const labelUList & indices() const noexcept
Return the list of sorted indices (updated every sort).
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const T * set(const label i) const
label size() const noexcept
The number of elements in the list.
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
Smooth ATC in cells next to a set of patches supplied by type.
lduInterfacePtrsList interfaces() const
UPtrList< const labelUList > faceCells() const
Return a list of faceCells for each patch.
void movePoints()
Correct patches after moving points.
label findPatchID(const word &patchName) const
Find patch index given a name.
Mesh data needed to do the Finite Volume discretisation.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
labelList indices(const wordRe &matcher, const bool useGroups=true) const
Return (sorted) patch indices for all matches.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
const polyBoundaryMesh & patches
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
PtrList< fvPatch > fvPatchList
Store lists of fvPatch as a PtrList.
errorManip< error > abort(error &err)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.