leastSquaresVectors Class Reference

Least-squares gradient scheme vectors. More...

Inheritance diagram for leastSquaresVectors:
[legend]
Collaboration diagram for leastSquaresVectors:
[legend]

Public Member Functions

 TypeName ("leastSquaresVectors")
 
 leastSquaresVectors (const fvMesh &)
 Construct given an fvMesh. More...
 
virtual ~leastSquaresVectors ()
 Destructor. More...
 
const surfaceVectorFieldpVectors () const
 Return const reference to owner least square vectors. More...
 
const surfaceVectorFieldnVectors () const
 Return const reference to neighbour least square vectors. More...
 
virtual bool movePoints ()
 Delete the least square vectors when the mesh moves. More...
 
- Public Member Functions inherited from MeshObject< fvMesh, MoveableMeshObject, leastSquaresVectors >
 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 >
static const leastSquaresVectorsNew (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 >
const fvMeshmesh_
 

Detailed Description

Least-squares gradient scheme vectors.

Source files

Definition at line 53 of file leastSquaresVectors.H.

Constructor & Destructor Documentation

◆ leastSquaresVectors()

leastSquaresVectors ( const fvMesh mesh)
explicit

Construct given an fvMesh.

Definition at line 42 of file invDistLeastSquaresVectors.C.

References Foam::dimLength, and Foam::dimless.

◆ ~leastSquaresVectors()

~leastSquaresVectors ( )
virtual

Destructor.

Definition at line 80 of file invDistLeastSquaresVectors.C.

Member Function Documentation

◆ TypeName()

TypeName ( "leastSquaresVectors"  )

◆ pVectors()

const surfaceVectorField & pVectors ( ) const
inline

Return const reference to owner least square vectors.

Definition at line 91 of file leastSquaresVectors.H.

Referenced by fourthGrad< Type >::calcGrad(), and leastSquaresGrad< Type >::calcGrad().

Here is the caller graph for this function:

◆ nVectors()

const surfaceVectorField & nVectors ( ) const
inline

Return const reference to neighbour least square vectors.

Definition at line 97 of file leastSquaresVectors.H.

Referenced by fourthGrad< Type >::calcGrad(), and leastSquaresGrad< Type >::calcGrad().

Here is the caller graph for this function:

◆ movePoints()

bool movePoints ( )
virtual

Delete the least square vectors when the mesh moves.

Definition at line 173 of file invDistLeastSquaresVectors.C.


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