187#define makeFaGradTypeScheme(SS, Type) \
189 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \
195 gradScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
196 add##SS##Type##IstreamConstructorToTable_; \
201#define makeFaGradScheme(SS) \
203makeFaGradTypeScheme(SS, scalar) \
204makeFaGradTypeScheme(SS, vector)
Forwards and collection of common area field types.
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 Area discretisation.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
const faMesh & mesh() const noexcept
Return mesh reference.
void operator=(const gradScheme &)=delete
No copy assignment.
static tmp< gradScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new gradScheme created on freestore.
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > grad(const GeometricField< Type, faPatchField, areaMesh > &, const word &name) const
Calculate and return the grad of the given field which may have been cached.
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > calcGrad(const GeometricField< Type, faPatchField, areaMesh > &, const word &name) const =0
Calculate and return the grad of the given field.
gradScheme(const gradScheme &)=delete
No copy construct.
declareRunTimeSelectionTable(tmp, gradScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
gradScheme(const faMesh &mesh)
Construct from mesh.
virtual ~gradScheme()=default
Destructor.
typeOfRank< typenamepTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank)>::type type
constexpr refCount() noexcept
Default construct, initializing count to 0.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Forwards for edge field types.
Namespace for finite-area.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).