An assembly of lduMatrix that is specific inter-region coupling through mapped patches. More...
Public Member Functions | |
TypeName ("lduPrimitiveMeshAssembly") | |
lduPrimitiveMeshAssembly (const IOobject &io, const UPtrList< lduMesh > &meshes) | |
lduPrimitiveMeshAssembly (const IOobject &io, const lduMesh &) | |
virtual | ~lduPrimitiveMeshAssembly ()=default |
template<class Type > | |
void | update (UPtrList< GeometricField< Type, fvPatchField, volMesh >> &psis) |
void | updateMaps (const UPtrList< lduMesh > &) |
label | findNbrMeshId (const polyPatch &pp, const label iMesh) const |
virtual const objectRegistry & | thisDb () const |
virtual bool | hasDb () const |
virtual const labelUList & | patchAddr (const label patchNo) const |
const labelListList & | patchMap () const |
const labelListList & | patchLocalToGlobalMap () const |
const labelListListList & | faceBoundMap () const |
const labelListListList & | cellBoundMap () const |
const labelListListList & | facePatchFaceMap () const |
const labelList & | cellOffsets () const |
const labelListList & | faceMap () const |
const List< labelList > & | patchAddr () const |
const UPtrList< lduMesh > & | meshes () const |
virtual bool | writeData (Ostream &) const |
![]() | |
TypeName ("regIOobject") | |
regIOobject (const IOobject &io, const bool isTimeObject=false) | |
regIOobject (const regIOobject &rio) | |
regIOobject (const regIOobject &rio, bool registerCopy) | |
regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
regIOobject (const IOobject &io, const regIOobject &rio) | |
virtual | ~regIOobject () |
bool | checkIn () |
bool | checkOut () |
virtual void | addWatch () |
bool | ownedByRegistry () const |
bool | store () |
void | release (const bool unregister=false) |
label | eventNo () const |
label & | eventNo () |
bool | upToDate (const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
void | setUpToDate () |
virtual void | rename (const word &newName) |
const dictionary * | findMetaData () const noexcept |
dictionary & | getMetaData () noexcept |
void | removeMetaData () |
virtual void | updateMetaData () |
virtual fileName | filePath () const |
bool | headerOk () |
Istream & | readStream (const word &, const bool valid=true) |
void | close () |
virtual bool | readData (Istream &) |
virtual bool | read () |
virtual label | addWatch (const fileName &) |
const labelList & | watchIndices () const |
labelList & | watchIndices () |
virtual bool | modified () const |
virtual bool | readIfModified () |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
virtual bool | write (const bool valid=true) const |
virtual bool | global () const |
void | operator= (const IOobject &io) |
virtual bool | writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const |
![]() | |
TypeName ("IOobject") | |
IOobject (const IOobject &)=default | |
virtual | ~IOobject ()=default |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const IOobject &io, const objectRegistry ®istry) | |
IOobject (const IOobject &io, const word &name) | |
IOobject (const IOobject &io, readOption, writeOption) | |
autoPtr< IOobject > | clone () const |
autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
const objectRegistry & | db () const noexcept |
const Time & | time () const |
const word & | name () const noexcept |
const word & | headerClassName () const noexcept |
word & | headerClassName () noexcept |
const string & | note () const noexcept |
string & | note () noexcept |
bool | registerObject () const noexcept |
bool | registerObject (bool on) noexcept |
bool | globalObject () const noexcept |
bool | globalObject (bool on) noexcept |
unsigned | labelByteSize () const noexcept |
unsigned | scalarByteSize () const noexcept |
bool | isHeaderClassName (const word &clsName) const |
template<class Type > | |
bool | isHeaderClassName () const |
readOption | readOpt () const noexcept |
readOption | readOpt (readOption opt) noexcept |
writeOption | writeOpt () const noexcept |
writeOption | writeOpt (writeOption opt) noexcept |
word | group () const |
word | member () const |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const noexcept |
fileName & | instance () noexcept |
const fileName & | local () const noexcept |
fileName | path () const |
fileName | path (const word &instance, const fileName &local=fileName::null) const |
fileName | objectPath () const |
fileName | objectRelPath () const |
fileName | localFilePath (const word &typeName, const bool search=true) const |
fileName | globalFilePath (const word &typeName, const bool search=true) const |
IOstreamOption | parseHeader (const dictionary &headerDict) |
bool | readHeader (Istream &is) |
bool | readHeader (dictionary &headerDict, Istream &is) |
template<class Type > | |
bool | typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true) |
template<class Type > | |
void | warnNoRereading () const |
bool | writeHeader (Ostream &os) const |
bool | writeHeader (Ostream &os, const word &objectType) const |
void | writeHeader (dictionary &dict, IOstreamOption streamOpt) const |
void | writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const |
bool | good () const noexcept |
bool | bad () const noexcept |
InfoProxy< IOobject > | info () const |
void | operator= (const IOobject &io) |
readOption & | readOpt () noexcept |
writeOption & | writeOpt () noexcept |
bool & | registerObject () noexcept |
bool & | globalObject () noexcept |
template<> | |
bool | isHeaderClassName () const |
template<class StringType > | |
Foam::word | groupName (StringType base, const word &group) |
![]() | |
ClassName ("lduPrimitiveMesh") | |
lduPrimitiveMesh (const label nCells) | |
lduPrimitiveMesh (const label nCells, labelList &l, labelList &u, const label comm, bool reuse) | |
void | addInterfaces (lduInterfacePtrsList &interfaces, const lduSchedule &ps) |
lduPrimitiveMesh (const label nCells, labelList &l, labelList &u, PtrList< const lduInterface > &primitiveInterfaces, const lduSchedule &ps, const label comm) | |
lduPrimitiveMesh (const label comm, const labelList &procAgglomMap, const labelList &procIDs, const lduMesh &myMesh, const PtrList< lduPrimitiveMesh > &otherMeshes, labelList &cellOffsets, labelList &faceOffsets, labelListList &faceMap, labelListList &boundaryMap, labelListListList &boundaryFaceMap) | |
virtual | ~lduPrimitiveMesh ()=default |
virtual const lduAddressing & | lduAddr () const |
virtual lduAddressing & | lduAddr () |
virtual lduInterfacePtrsList | interfaces () const |
virtual lduInterfacePtrsList & | interfaces () |
PtrList< const lduInterface > & | primitiveInterfaces () |
const lduInterfacePtrsList & | rawInterfaces () const |
virtual label | comm () const |
virtual const labelUList & | lowerAddr () const |
virtual const labelUList & | upperAddr () const |
virtual labelList & | lowerAddr () |
virtual labelList & | upperAddr () |
virtual const lduSchedule & | patchSchedule () const |
template<class ProcPatch > | |
Foam::lduSchedule | nonBlockingSchedule (const lduInterfacePtrsList &interfaces) |
![]() | |
TypeName ("lduMesh") | |
virtual | ~lduMesh ()=default |
template<class T , class BinaryOp > | |
void | reduce (T &Value, const BinaryOp &bop) const |
InfoProxy< lduMesh > | info () const |
![]() | |
lduAddressing (const label nEqns) | |
virtual | ~lduAddressing () |
label | size () const |
void | clearOut () |
const labelUList & | losortAddr () const |
const labelUList & | ownerStartAddr () const |
const labelUList & | losortStartAddr () const |
label | triIndex (const label a, const label b) const |
Tuple2< label, scalar > | band () const |
Additional Inherited Members | |
![]() | |
enum | objectState : char { GOOD, BAD } |
enum | readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ } |
enum | writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 } |
enum | fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster } |
![]() | |
template<class Type > | |
static Type & | store (Type *p) |
template<class Type > | |
static Type & | store (autoPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (autoPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &&ptr) |
![]() | |
static bool | bannerEnabled () noexcept |
static bool | bannerEnabled (bool on) noexcept |
static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
template<class StringType > | |
static word | groupName (StringType base, const word &group) |
static word | group (const word &name) |
static word | member (const word &name) |
static word | scopedName (const std::string &scope, const word &name) |
static IOobject | selectIO (const IOobject &io, const fileName &altFile, const word &ioName="") |
static Ostream & | writeBanner (Ostream &os, const bool noSyntaxHint=false) |
static Ostream & | writeDivider (Ostream &os) |
static Ostream & | writeEndDivider (Ostream &os) |
![]() | |
static const lduMesh & | mesh (const lduMesh &mesh0, const PtrList< lduPrimitiveMesh > &otherMeshes, const label meshI) |
static void | gather (const label comm, const lduMesh &mesh, const labelList &procIDs, PtrList< lduPrimitiveMesh > &otherMeshes) |
template<class ProcPatch > | |
static lduSchedule | nonBlockingSchedule (const lduInterfacePtrsList &) |
static labelList | upperTriOrder (const label nCells, const labelUList &lower, const labelUList &upper) |
static void | checkUpperTriangular (const label size, const labelUList &l, const labelUList &u) |
static labelListList | globalCellCells (const lduMesh &mesh, const globalIndex &globalNumbering) |
![]() | |
static const Enum< fileCheckTypes > | fileCheckTypesNames |
static char | scopeSeparator |
static fileCheckTypes | fileModificationChecking |
static float | fileModificationSkew |
static int | maxFileModificationPolls |
![]() | |
bool | readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName) |
![]() | |
void | setBad (const string &s) |
![]() | |
static void | writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr) |
static void | writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr) |
![]() | |
static bool | masterOnlyReading = false |
An assembly of lduMatrix that is specific inter-region coupling through mapped patches.
Definition at line 48 of file lduPrimitiveMeshAssembly.H.
lduPrimitiveMeshAssembly | ( | const IOobject & | io, |
const UPtrList< lduMesh > & | meshes | ||
) |
Definition at line 53 of file lduPrimitiveMeshAssembly.C.
References forAll, meshes(), Foam::nl, and WarningInFunction.
lduPrimitiveMeshAssembly | ( | const IOobject & | io, |
const lduMesh & | mesh | ||
) |
Definition at line 78 of file lduPrimitiveMeshAssembly.C.
References mesh.
|
virtualdefault |
TypeName | ( | "lduPrimitiveMeshAssembly" | ) |
void update | ( | UPtrList< GeometricField< Type, fvPatchField, volMesh >> & | psis | ) |
Definition at line 34 of file lduPrimitiveMeshAssemblyTemplates.C.
References fvMesh::boundary(), polyPatch::boundaryMesh(), Foam::expressions::patchExpr::debug, DebugInfo, DebugVar, Foam::endl(), Foam::exit(), polyPatch::faceCells(), Foam::faceMap(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, Foam::inplaceReorder(), polyPatch::mapCollocatedFaces(), polyPatch::masterImplicit(), Foam::max(), fvBoundaryMesh::mesh(), Foam::min(), polyPatch::nbrCells(), polyPatch::neighbPolyPatchID(), polyPatch::newInternalProcFaces(), Foam::nl, Foam::refCast(), UPtrList::set(), and fvPatchField::useImplicit().
Referenced by fvMatrix< Type >::createOrUpdateLduPrimitiveAssembly().
Definition at line 95 of file lduPrimitiveMeshAssembly.C.
References meshes(), and PtrList::setSize().
Foam::label findNbrMeshId | ( | const polyPatch & | pp, |
const label | iMesh | ||
) | const |
Definition at line 130 of file lduPrimitiveMeshAssembly.C.
References forAll, Foam::name(), and polyPatch::neighbRegionID().
Referenced by mixedEnergyFvPatchScalarField::manipulateMatrix().
|
inlinevirtual |
Reimplemented from lduMesh.
Definition at line 144 of file lduPrimitiveMeshAssembly.H.
|
inlinevirtual |
Reimplemented from lduPrimitiveMesh.
Definition at line 150 of file lduPrimitiveMeshAssembly.H.
|
inlinevirtual |
Reimplemented from lduPrimitiveMesh.
Definition at line 156 of file lduPrimitiveMeshAssembly.H.
|
inline |
Definition at line 162 of file lduPrimitiveMeshAssembly.H.
Referenced by fvMatrix< Type >::globalPatchID(), and fvMatrix< Type >::mapContributions().
|
inline |
Definition at line 168 of file lduPrimitiveMeshAssembly.H.
Referenced by mixedEnergyFvPatchScalarField::manipulateMatrix(), cyclicFvPatchField< vector >::manipulateMatrix(), cyclicAMIFvPatchField< scalar >::manipulateMatrix(), cyclicACMIFvPatchField< Type >::manipulateMatrix(), and fvMatrix< Type >::mapContributions().
|
inline |
Definition at line 174 of file lduPrimitiveMeshAssembly.H.
Referenced by mixedEnergyFvPatchScalarField::manipulateMatrix(), cyclicFvPatchField< vector >::manipulateMatrix(), cyclicAMIFvPatchField< scalar >::manipulateMatrix(), and cyclicACMIFvPatchField< Type >::manipulateMatrix().
|
inline |
Definition at line 180 of file lduPrimitiveMeshAssembly.H.
Referenced by mixedEnergyFvPatchScalarField::manipulateMatrix(), and fvMatrix< Type >::mapContributions().
|
inline |
Definition at line 186 of file lduPrimitiveMeshAssembly.H.
Referenced by fvMatrix< Type >::mapContributions().
|
inline |
Definition at line 192 of file lduPrimitiveMeshAssembly.H.
|
inline |
Definition at line 198 of file lduPrimitiveMeshAssembly.H.
Definition at line 204 of file lduPrimitiveMeshAssembly.H.
Definition at line 210 of file lduPrimitiveMeshAssembly.H.
Implements regIOobject.
Definition at line 216 of file lduPrimitiveMeshAssembly.H.
References NotImplemented.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.