41 #ifndef LeastSquaresVectors_H 42 #define LeastSquaresVectors_H 61 template<
class Stencil>
64 public MeshObject<fvMesh, MoveableMeshObject, LeastSquaresVectors<Stencil>>
85 void calcLeastSquaresVectors();
const extendedCentredCellToCellStencil & stencil() const
Return const reference to the stencil.
virtual bool movePoints()
Update the least square vectors when the mesh moves.
MoveableMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static const cellCellStencilObject & New(const fvMesh &mesh, Args &&... args)
Get existing or create 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...
const fvMesh & mesh() const noexcept
Reference to the mesh.
TypeName("LeastSquaresVectors")
const fvMesh & mesh_
Reference to the mesh.
Mesh data needed to do the Finite Volume discretisation.
LeastSquaresVectors(const fvMesh &mesh)
Construct given an fvMesh and the minimum determinant criterion.
Least-squares gradient scheme vectors.