41 #ifndef LeastSquaresVectors_H 42 #define LeastSquaresVectors_H 61 template<
class Stencil>
64 public MeshObject<fvMesh, MoveableMeshObject, LeastSquaresVectors<Stencil>>
75 void calcLeastSquaresVectors();
const extendedCentredCellToCellStencil & stencil() const
Return const reference to the stencil.
virtual bool movePoints()
Update the least square vectors when the mesh moves.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static const Type & New(const Mesh &mesh, Args &&... args)
Get existing or create a new MeshObject. Registered with typeName.
virtual ~LeastSquaresVectors()
Destructor.
const List< List< vector > > & vectors() const
Return const reference to the least square vectors.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
LeastSquaresVectors(const fvMesh &)
Construct given an fvMesh and the minimum determinant criterion.
TypeName("LeastSquaresVectors")
const fvMesh & mesh_
Reference to the mesh.
Mesh data needed to do the Finite Volume discretisation.
Least-squares gradient scheme vectors.