Simplest concrete lduMesh that stores the addressing needed by lduMatrix. More...
Public Member Functions | |
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 bool | hasDb () const |
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 labelUList & | patchAddr (const label i) const |
virtual const lduSchedule & | patchSchedule () const |
template<class ProcPatch > | |
Foam::lduSchedule | nonBlockingSchedule (const lduInterfacePtrsList &interfaces) |
![]() | |
TypeName ("lduMesh") | |
virtual | ~lduMesh ()=default |
virtual const objectRegistry & | thisDb () const |
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 |
Static Public Member Functions | |
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) |
Simplest concrete lduMesh that stores the addressing needed by lduMatrix.
Definition at line 48 of file lduPrimitiveMesh.H.
|
explicit |
Definition at line 363 of file lduPrimitiveMesh.C.
lduPrimitiveMesh | ( | const label | nCells, |
labelList & | l, | ||
labelList & | u, | ||
const label | comm, | ||
bool | reuse | ||
) |
Definition at line 327 of file lduPrimitiveMesh.C.
lduPrimitiveMesh | ( | const label | nCells, |
labelList & | l, | ||
labelList & | u, | ||
PtrList< const lduInterface > & | primitiveInterfaces, | ||
const lduSchedule & | ps, | ||
const label | comm | ||
) |
Definition at line 373 of file lduPrimitiveMesh.C.
References forAll.
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 | ||
) |
Definition at line 404 of file lduPrimitiveMesh.C.
References Foam::abort(), HashTable< T, edge, Hash< edge > >::cfind(), lduMesh::comm(), Foam::expressions::patchExpr::debug, Foam::endl(), Foam::exit(), lduInterface::faceCells(), Foam::faceMap(), Foam::FatalError, FatalErrorInFunction, Foam::findIndices(), forAll, forAllConstIters(), Foam::inplaceReorder(), lduMesh::interfaces(), fvMesh::interfaces(), lduMesh::lduAddr(), lduAddressing::lowerAddr(), Foam::max(), mesh, Foam::min(), UPstream::msgType(), processorLduInterface::myProcNo(), UPstream::myProcNo(), n, processorLduInterface::neighbProcNo(), Foam::Pout, UPtrList::set(), List::setSize(), UList::size(), UPtrList::size(), lduAddressing::size(), HashTable< T, edge, Hash< edge > >::size(), Foam::sortedOrder(), lduAddressing::upperAddr(), WarningInFunction, and Foam::Zero.
|
virtualdefault |
ClassName | ( | "lduPrimitiveMesh" | ) |
void addInterfaces | ( | lduInterfacePtrsList & | interfaces, |
const lduSchedule & | ps | ||
) |
Definition at line 342 of file lduPrimitiveMesh.C.
References forAll, and List::setSize().
|
inlinevirtual |
Implements lduMesh.
Reimplemented in lduPrimitiveMeshAssembly.
Definition at line 177 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Implements lduMesh.
Definition at line 183 of file lduPrimitiveMesh.H.
Referenced by fvMatrix< Type >::createOrUpdateLduPrimitiveAssembly().
|
inlinevirtual |
Definition at line 189 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Implements lduMesh.
Definition at line 196 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Definition at line 203 of file lduPrimitiveMesh.H.
|
inline |
Definition at line 209 of file lduPrimitiveMesh.H.
|
inline |
Definition at line 217 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Implements lduMesh.
Definition at line 223 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Implements lduAddressing.
Definition at line 229 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Implements lduAddressing.
Definition at line 235 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Definition at line 241 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Definition at line 247 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Implements lduAddressing.
Reimplemented in lduPrimitiveMeshAssembly.
Definition at line 253 of file lduPrimitiveMesh.H.
|
inlinevirtual |
Implements lduAddressing.
Definition at line 259 of file lduPrimitiveMesh.H.
|
static |
Definition at line 1065 of file lduPrimitiveMesh.C.
Referenced by fvMatrix< Type >::lduMeshPtr().
|
static |
Definition at line 1076 of file lduPrimitiveMesh.C.
References forAll, interface(), fvMesh::interfaces(), fvMesh::lduAddr(), lduAddressing::lowerAddr(), mesh, UPstream::msgType(), UPstream::myProcNo(), GAMGInterface::New(), lduAddressing::patchSchedule(), Foam::readLabel(), Foam::refCast(), UPstream::scheduled, PtrList::set(), UPtrList::set(), PtrList::setSize(), UPtrList::size(), lduAddressing::size(), and lduAddressing::upperAddr().
|
static |
|
static |
Definition at line 252 of file lduPrimitiveMesh.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::stringOps::lower(), DynamicList::resize(), Foam::sortedOrder(), Foam::stringOps::upper(), and Foam::Zero.
|
static |
Definition at line 58 of file lduPrimitiveMesh.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, and UList::size().
|
static |
Definition at line 111 of file lduPrimitiveMesh.C.
References Foam::constant::physicoChemical::c1, forAll, Foam::identity(), globalIndex::localStart(), lduAddressing::lowerAddr(), mesh, PtrList::set(), UPtrList::set(), List::setSize(), UPtrList::size(), lduAddressing::size(), lduAddressing::upperAddr(), and Foam::Zero.
Foam::lduSchedule nonBlockingSchedule | ( | const lduInterfacePtrsList & | interfaces | ) |
Definition at line 27 of file lduPrimitiveMeshTemplates.C.
References forAll, UPtrList::set(), and UPtrList::size().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.