38#ifndef lduPrimitiveMeshAssembly_H
39#define lduPrimitiveMeshAssembly_H
53class lduPrimitiveMeshAssembly
56 public lduPrimitiveMesh
94 lduPrimitiveMeshAssembly(
const lduPrimitiveMeshAssembly&) =
delete;
97 void operator=(
const lduPrimitiveMeshAssembly&) =
delete;
106 TypeName(
"lduPrimitiveMeshAssembly");
112 lduPrimitiveMeshAssembly
119 lduPrimitiveMeshAssembly
151 return meshes_[0].
thisDb();
155 virtual bool hasDb()
const
163 return patchAddr_[patchNo];
175 return patchLocalToGlobalMap_;
181 return faceBoundMap_;
187 return cellBoundMap_;
193 return facePatchFaceMap_;
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
Generic GeometricField class.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
virtual const objectRegistry & thisDb() const
Return the object registry.
const labelListListList & cellBoundMap() const
Return patch local sub-face to nbrCellId map.
void updateMaps(const UPtrList< lduMesh > &)
Size maps.
virtual const labelUList & patchAddr(const label patchNo) const
Return patch addressing.
const labelList & cellOffsets() const
Return cellOffsets.
const labelListListList & faceBoundMap() const
Return boundary face map.
label findNbrMeshId(const polyPatch &pp, const label iMesh) const
Find nrb mesh Id for mapped patches.
const UPtrList< lduMesh > & meshes() const
Return fvMeshes.
TypeName("lduPrimitiveMeshAssembly")
const labelListList & patchMap() const
Return patchMap.
const labelListList & faceMap() const
Return faceMap.
virtual bool hasDb() const
Return true if thisDb() is a valid DB.
const List< labelList > & patchAddr() const
Return patchAddr.
virtual bool writeData(Ostream &) const
Write Data.
const labelListListList & facePatchFaceMap() const
Return patch local sub-face to local patch face map.
const labelListList & patchLocalToGlobalMap() const
Return patchLocalToGlobalMap.
virtual ~lduPrimitiveMeshAssembly()=default
Destructor.
Registry of regIOobjects.
const objectRegistry & thisDb() const noexcept
Return the object registry.
A patch is a list of labels that address the faces in the global face list.
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
List< labelListList > labelListListList
List of labelListList.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.