41#ifndef leastSquaresGrad_H
42#define leastSquaresGrad_H
68 leastSquaresGrad(
const leastSquaresGrad&) =
delete;
71 void operator=(
const leastSquaresGrad&) =
delete;
85 gradScheme<Type>(
mesh)
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Abstract base class for gradient schemes.
const fvMesh & mesh() const
Return const reference to mesh.
Second-order gradient scheme using least-squares.
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > calcGrad(const GeometricField< Type, fvPatchField, volMesh > &vsf, const word &name) const
Return the gradient of the given field to the gradScheme::grad for optional caching.
leastSquaresGrad(const fvMesh &mesh, Istream &)
Construct from Istream.
TypeName("leastSquares")
Runtime type information.
leastSquaresGrad(const fvMesh &mesh)
Construct from mesh.
typeOfRank< typenamepTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank)>::type type
A class for managing temporary objects.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
Namespace for finite-volume.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.