37 #ifndef lnGradScheme_H 38 #define lnGradScheme_H 131 const word& snGradName =
"lnGrad" 181 #define makeLnGradTypeScheme(SS, Type) \ 183 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \ 189 lnGradScheme<Type>::addMeshConstructorToTable<SS<Type>> \ 190 add##SS##Type##MeshConstructorToTable_; \ 194 #define makeLnGradScheme(SS) \ 196 makeLnGradTypeScheme(SS, scalar) \ 197 makeLnGradTypeScheme(SS, vector) \ 198 makeLnGradTypeScheme(SS, tensor) Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Reference counter for various OpenFOAM components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
lnGradScheme(const faMesh &mesh)
Construct from mesh.
Generic GeometricField class.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
virtual ~lnGradScheme()
Destructor.
Abstract base class for lnGrad schemes.
declareRunTimeSelectionTable(tmp, lnGradScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
Forwards for edge field types.
A class for handling words, derived from Foam::string.
static tmp< lnGradScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad(const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const word &snGradName="lnGrad")
Return the lnGrad of the given cell field.
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction(const GeometricField< Type, faPatchField, areaMesh > &) const
Return the explicit correction to the lnGrad.
const faMesh & mesh() const
Return mesh reference.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
virtual tmp< edgeScalarField > deltaCoeffs(const GeometricField< Type, faPatchField, areaMesh > &) const =0
Return the interpolation weighting factors for the given field.
Forwards and collection of common area field types.