38#ifndef Foam_faDivScheme_H
39#define Foam_faDivScheme_H
121 new linearEdgeInterpolation<Type>(mesh)
128 edgeInterpolationScheme<Type>::New(mesh, is)
176#define makeFaDivTypeScheme(SS, Type) \
178 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \
184 divScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
185 add##SS##Type##IstreamConstructorToTable_; \
189#define makeFaDivScheme(SS) \
191makeFaDivTypeScheme(SS, vector) \
192makeFaDivTypeScheme(SS, tensor)
Forwards and collection of common area field types.
Generic GeometricField class.
bool eof() const noexcept
True if end of input seen.
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.
A special matrix type and solver, designed for finite area solutions of scalar equations....
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...
divScheme(const faMesh &mesh)
Construct from mesh.
divScheme(const faMesh &mesh, Istream &is)
Construct from mesh and Istream.
const faMesh & mesh() const noexcept
Return mesh reference.
divScheme(const divScheme &)=delete
No copy construct.
tmp< edgeInterpolationScheme< Type > > tinterpScheme_
Edge interpolation scheme.
void operator=(const divScheme &)=delete
No copy assignment.
const faMesh & mesh_
Reference to mesh.
virtual ~divScheme()=default
Destructor.
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, faPatchField, areaMesh > > facDiv(const GeometricField< Type, faPatchField, areaMesh > &)=0
static tmp< divScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new divScheme created on freestore.
declareRunTimeSelectionTable(tmp, divScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
typeOfRank< typenamepTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) -2 >::type type
Central-differencing interpolation scheme class.
constexpr refCount() noexcept
Default construct, initializing count to 0.
A class for managing temporary objects.
Forwards for edge field types.
Namespace for finite-area.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).