38 #ifndef lduPrimitiveMeshAssembly_H 39 #define lduPrimitiveMeshAssembly_H 106 TypeName(
"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_;
virtual bool hasDb() const
Return true if thisDb() is a valid DB.
void update(UPtrList< GeometricField< Type, fvPatchField, volMesh >> &psis)
Update mappings.
const labelListList & faceMap() const
Return faceMap.
const labelListList & patchLocalToGlobalMap() const
Return patchLocalToGlobalMap.
TypeName("lduPrimitiveMeshAssembly")
const labelList & cellOffsets() const
Return cellOffsets.
label findNbrMeshId(const polyPatch &pp, const label iMesh) const
Find nrb mesh Id for mapped patches.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
Generic GeometricField class.
const labelListList & patchMap() const
Return patchMap.
const List< labelList > & patchAddr() const
Return patchAddr.
virtual ~lduPrimitiveMeshAssembly()=default
Destructor.
const UPtrList< lduMesh > & meshes() const
Return fvMeshes.
Simplest concrete lduMesh that stores the addressing needed by lduMatrix.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const labelListListList & faceBoundMap() const
Return boundary face map.
An assembly of lduMatrix that is specific inter-region coupling through mapped patches.
const labelListListList & cellBoundMap() const
Return patch local sub-face to nbrCellId map.
virtual bool writeData(Ostream &) const
Write Data.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Registry of regIOobjects.
A patch is a list of labels that address the faces in the global face list.
virtual const objectRegistry & thisDb() const
Return the object registry.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Defines the attributes of an object for which implicit objectRegistry management is supported...
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
const labelListListList & facePatchFaceMap() const
Return patch local sub-face to local patch face map.
void updateMaps(const UPtrList< lduMesh > &)
Size maps.