leastSquaresFaVectors Class Reference

Least-squares gradient scheme vectors for the Finite Area method. More...

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

Public Member Functions

 TypeName ("leastSquaresFaVectors")
 
 leastSquaresFaVectors (const faMesh &)
 Construct given an faMesh. More...
 
virtual ~leastSquaresFaVectors ()
 Destructor. More...
 
const edgeVectorFieldpVectors () const
 Return reference to owner least square vectors. More...
 
const edgeVectorFieldnVectors () const
 Return 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< faMesh, Foam::MoveableMeshObject, leastSquaresFaVectors >
 MeshObject (const faMesh &mesh)
 Construct on Mesh type. More...
 
virtual ~MeshObject ()=default
 Destructor. More...
 
const faMeshmesh () const
 
virtual bool writeData (Ostream &os) const
 

Additional Inherited Members

- Static Public Member Functions inherited from MeshObject< faMesh, Foam::MoveableMeshObject, leastSquaresFaVectors >
static const leastSquaresFaVectorsNew (const faMesh &mesh, Args &&... args)
 Get existing or create a new MeshObject. More...
 
static bool Delete (const faMesh &mesh)
 Static destructor. More...
 
- Protected Attributes inherited from MeshObject< faMesh, Foam::MoveableMeshObject, leastSquaresFaVectors >
const faMeshmesh_
 

Detailed Description

Least-squares gradient scheme vectors for the Finite Area method.

Author Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 56 of file leastSquaresFaVectors.H.

Constructor & Destructor Documentation

◆ leastSquaresFaVectors()

leastSquaresFaVectors ( const faMesh mesh)
explicit

Construct given an faMesh.

Definition at line 45 of file leastSquaresFaVectors.C.

◆ ~leastSquaresFaVectors()

~leastSquaresFaVectors ( )
virtual

Destructor.

Definition at line 55 of file leastSquaresFaVectors.C.

References Foam::deleteDemandDrivenData().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "leastSquaresFaVectors"  )

◆ pVectors()

const Foam::edgeVectorField & pVectors ( ) const

Return reference to owner least square vectors.

Definition at line 219 of file leastSquaresFaVectors.C.

Referenced by leastSquaresFaGrad< Type >::grad().

Here is the caller graph for this function:

◆ nVectors()

const Foam::edgeVectorField & nVectors ( ) const

Return reference to neighbour least square vectors.

Definition at line 230 of file leastSquaresFaVectors.C.

Referenced by leastSquaresFaGrad< Type >::grad().

Here is the caller graph for this function:

◆ movePoints()

bool movePoints ( )
virtual

Delete the least square vectors when the mesh moves.

Definition at line 241 of file leastSquaresFaVectors.C.

References DebugInFunction, Foam::deleteDemandDrivenData(), and Foam::nl.

Here is the call graph for this function:

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