LeastSquaresVectors< Stencil > Class Template Reference

Least-squares gradient scheme vectors. More...

Inheritance diagram for LeastSquaresVectors< Stencil >:
[legend]
Collaboration diagram for LeastSquaresVectors< Stencil >:
[legend]

Public Member Functions

 TypeName ("LeastSquaresVectors")
 
 LeastSquaresVectors (const fvMesh &)
 Construct given an fvMesh and the minimum determinant criterion. More...
 
virtual ~LeastSquaresVectors ()
 Destructor. More...
 
const extendedCentredCellToCellStencilstencil () const
 Return const reference to the stencil. More...
 
const List< List< vector > > & vectors () const
 Return const reference to the least square vectors. More...
 
virtual bool movePoints ()
 Update the least square vectors when the mesh moves. More...
 
- Public Member Functions inherited from MeshObject< fvMesh, MoveableMeshObject, LeastSquaresVectors< Stencil > >
 MeshObject (const fvMesh &mesh)
 Construct on Mesh type. More...
 
virtual ~MeshObject ()=default
 Destructor. More...
 
const fvMeshmesh () const
 
virtual bool writeData (Ostream &os) const
 

Additional Inherited Members

- Static Public Member Functions inherited from MeshObject< fvMesh, MoveableMeshObject, LeastSquaresVectors< Stencil > >
static const LeastSquaresVectors< Stencil > & New (const fvMesh &mesh, Args &&... args)
 Get existing or create a new MeshObject. More...
 
static bool Delete (const fvMesh &mesh)
 Static destructor. More...
 
- Protected Attributes inherited from MeshObject< fvMesh, MoveableMeshObject, LeastSquaresVectors< Stencil > >
const fvMeshmesh_
 

Detailed Description

template<class Stencil>
class Foam::fv::LeastSquaresVectors< Stencil >

Least-squares gradient scheme vectors.

See also
Foam::fv::LeastSquaresGrad
Source files

Definition at line 61 of file LeastSquaresVectors.H.

Constructor & Destructor Documentation

◆ LeastSquaresVectors()

LeastSquaresVectors ( const fvMesh mesh)

Construct given an fvMesh and the minimum determinant criterion.

Definition at line 34 of file LeastSquaresVectors.C.

◆ ~LeastSquaresVectors()

Destructor.

Definition at line 49 of file LeastSquaresVectors.C.

Member Function Documentation

◆ TypeName()

TypeName ( "LeastSquaresVectors< Stencil >"  )

◆ stencil()

const extendedCentredCellToCellStencil & stencil ( ) const
inline

Return const reference to the stencil.

Definition at line 99 of file LeastSquaresVectors.H.

References MeshObject< fvMesh, MoveableMeshObject, LeastSquaresVectors< Stencil > >::mesh_, and Time::New().

Referenced by LeastSquaresGrad< Type, Stencil >::calcGrad().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vectors()

const List< List< vector > > & vectors ( ) const
inline

Return const reference to the least square vectors.

Definition at line 105 of file LeastSquaresVectors.H.

Referenced by LeastSquaresGrad< Type, Stencil >::calcGrad().

Here is the caller graph for this function:

◆ movePoints()

bool movePoints
virtual

Update the least square vectors when the mesh moves.

Definition at line 105 of file LeastSquaresVectors.C.


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