FreeFOAM The Cross-Platform CFD Toolkit
lduPrimitiveMesh Class Reference

Simplest contrete lduMesh which stores the addressing needed bu lduMatrix. More...

#include <OpenFOAM/lduPrimitiveMesh.H>


Detailed Description

Simplest contrete lduMesh which stores the addressing needed bu lduMatrix.

Definition at line 47 of file lduPrimitiveMesh.H.

+ Inheritance diagram for lduPrimitiveMesh:
+ Collaboration diagram for lduPrimitiveMesh:

List of all members.

Public Member Functions

 lduPrimitiveMesh (const label nCells, const unallocLabelList &l, const unallocLabelList &u, const labelListList &pa, lduInterfacePtrsList interfaces, const lduSchedule &ps)
 Construct from components as copies.
 lduPrimitiveMesh (const label nCells, labelList &l, labelList &u, labelListList &pa, lduInterfacePtrsList interfaces, const lduSchedule &ps, bool reUse)
 Construct from components and re-use storage as specified.
virtual ~lduPrimitiveMesh ()
virtual const lduAddressinglduAddr () const
 Return ldu addressing.
virtual lduInterfacePtrsList interfaces () const
 Return a list of pointers for each patch.
virtual const unallocLabelListlowerAddr () const
 Return Lower addressing.
virtual const unallocLabelListupperAddr () const
 Return Upper addressing.
virtual const unallocLabelListpatchAddr (const label i) const
 Return patch addressing.
virtual const lduSchedulepatchSchedule () const
 Return patch evaluation schedule.
- Public Member Functions inherited from lduMesh
 TypeName ("lduMesh")
 Runtime type information.
virtual ~lduMesh ()
virtual const objectRegistrythisDb () const
 Return the object registry.
- Public Member Functions inherited from lduAddressing
 lduAddressing (const label nEqns)
virtual ~lduAddressing ()
label size () const
 Return number of equations.
const unallocLabelListlosortAddr () const
 Return losort addressing.
const unallocLabelListownerStartAddr () const
 Return owner start addressing.
const unallocLabelListlosortStartAddr () const
 Return losort start addressing.
label triIndex (const label a, const label b) const
 Return off-diagonal index given owner and neighbour label.

Constructor & Destructor Documentation

lduPrimitiveMesh ( const label  nCells,
const unallocLabelList l,
const unallocLabelList u,
const labelListList pa,
lduInterfacePtrsList  interfaces,
const lduSchedule ps 
)
inline

Construct from components as copies.

Definition at line 87 of file lduPrimitiveMesh.H.

lduPrimitiveMesh ( const label  nCells,
labelList l,
labelList u,
labelListList pa,
lduInterfacePtrsList  interfaces,
const lduSchedule ps,
bool  reUse 
)
inline

Construct from components and re-use storage as specified.

Definition at line 107 of file lduPrimitiveMesh.H.

virtual ~lduPrimitiveMesh ( )
inlinevirtual

Definition at line 128 of file lduPrimitiveMesh.H.


Member Function Documentation

virtual const lduAddressing& lduAddr ( ) const
inlinevirtual

Return ldu addressing.

Implements lduMesh.

Definition at line 137 of file lduPrimitiveMesh.H.

virtual lduInterfacePtrsList interfaces ( ) const
inlinevirtual

Return a list of pointers for each patch.

with only those pointing to interfaces being set

Implements lduMesh.

Definition at line 144 of file lduPrimitiveMesh.H.

virtual const unallocLabelList& lowerAddr ( ) const
inlinevirtual

Return Lower addressing.

Implements lduAddressing.

Definition at line 150 of file lduPrimitiveMesh.H.

virtual const unallocLabelList& upperAddr ( ) const
inlinevirtual

Return Upper addressing.

Implements lduAddressing.

Definition at line 156 of file lduPrimitiveMesh.H.

virtual const unallocLabelList& patchAddr ( const label  i) const
inlinevirtual

Return patch addressing.

Implements lduAddressing.

Definition at line 162 of file lduPrimitiveMesh.H.

virtual const lduSchedule& patchSchedule ( ) const
inlinevirtual

Return patch evaluation schedule.

Implements lduAddressing.

Definition at line 168 of file lduPrimitiveMesh.H.


The documentation for this class was generated from the following file: