38 #ifndef LeastSquaresVectors_H 39 #define LeastSquaresVectors_H 58 template<
class Stencil>
61 public MeshObject<fvMesh, MoveableMeshObject, LeastSquaresVectors<Stencil>>
72 void calcLeastSquaresVectors();
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const extendedCentredCellToCellStencil & stencil() const
Return 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...
virtual ~LeastSquaresVectors()
Destructor.
const List< List< vector > > & vectors() const
Return 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")
Mesh data needed to do the Finite Volume discretisation.
Least-squares gradient scheme vectors.