Go to the documentation of this file.
38 #ifndef faLaplacianScheme_H
39 #define faLaplacianScheme_H
215 #define makeFaLaplacianTypeScheme(SS, Type) \
217 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \
223 laplacianScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
224 add##SS##Type##IstreamConstructorToTable_; \
229 #define makeFaLaplacianScheme(SS) \
231 makeFaLaplacianTypeScheme(SS, scalar) \
232 makeFaLaplacianTypeScheme(SS, vector) \
233 makeFaLaplacianTypeScheme(SS, tensor)
A class for managing temporary objects.
Reference counter for various OpenFOAM components.
Abstract base class for finite area calculus laplacian schemes.
static tmp< laplacianScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new laplacianScheme created on freestore.
tmp< lnGradScheme< Type > > tlnGradScheme_
virtual tmp< faMatrix< Type > > famLaplacian(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void operator=(const laplacianScheme &)=delete
No copy assignment.
Forwards and collection of common area field types.
bool eof() const noexcept
True if end of input seen.
virtual ~laplacianScheme()
Destructor.
declareRunTimeSelectionTable(tmp, laplacianScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
laplacianScheme(const faMesh &mesh)
Construct from mesh.
Simple central-difference lnGrad scheme with non-orthogonal correction.
static tmp< lnGradScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
laplacianScheme(const laplacianScheme &)=delete
No copy construct.
Macros to ease declaration of run-time selection tables.
Central-differencing interpolation scheme class.
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian(const GeometricField< Type, faPatchField, areaMesh > &)=0
Finite area mesh. Used for 2-D non-Euclidian finite area method.
tmp< edgeInterpolationScheme< scalar > > tinterpGammaScheme_
laplacianScheme(const faMesh &mesh, Istream &is)
Construct from mesh and Istream.
Forwards for edge field types.
const faMesh & mesh() const
Return mesh reference.
static tmp< edgeInterpolationScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.