37 #ifndef lnGradScheme_H 38 #define lnGradScheme_H 130 const word& snGradName =
"lnGrad" 140 virtual bool corrected()
const {
return false; }
177 #define makeLnGradTypeScheme(SS, Type) \ 179 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \ 185 lnGradScheme<Type>::addMeshConstructorToTable<SS<Type>> \ 186 add##SS##Type##MeshConstructorToTable_; \ 190 #define makeLnGradScheme(SS) \ 192 makeLnGradTypeScheme(SS, scalar) \ 193 makeLnGradTypeScheme(SS, vector) \ 194 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)...
Generic GeometricField class.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
const faMesh & mesh() const noexcept
Return mesh reference.
virtual ~lnGradScheme()
Destructor.
Abstract base class for lnGrad schemes.
void operator=(const lnGradScheme &)=delete
No copy assignment.
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.
lnGradScheme(const lnGradScheme &)=delete
No copy construct.
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.
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.