38#ifndef Foam_faLaplacianScheme_H
39#define Foam_faLaplacianScheme_H
119 tinterpGammaScheme_.reset
121 new linearEdgeInterpolation<scalar>(mesh)
126 new correctedLnGrad<Type>(mesh)
131 tinterpGammaScheme_.reset
133 edgeInterpolationScheme<scalar>::New(mesh, is)
138 lnGradScheme<Type>::New(mesh, is)
209#define makeFaLaplacianTypeScheme(SS, Type) \
211 defineNamedTemplateTypeNameAndDebug(Foam::fa::SS<Foam::Type>, 0); \
217 laplacianScheme<Type>::addIstreamConstructorToTable<SS<Type>> \
218 add##SS##Type##IstreamConstructorToTable_; \
223#define makeFaLaplacianScheme(SS) \
225makeFaLaplacianTypeScheme(SS, scalar) \
226makeFaLaplacianTypeScheme(SS, vector) \
227makeFaLaplacianTypeScheme(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)....
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 ...
Simple central-difference lnGrad scheme with non-orthogonal correction.
declareRunTimeSelectionTable(tmp, laplacianScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
virtual tmp< faMatrix< Type > > famLaplacian(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
laplacianScheme(const faMesh &mesh)
Construct from mesh.
laplacianScheme(const faMesh &mesh, Istream &is)
Construct from mesh and Istream.
laplacianScheme(const laplacianScheme &)=delete
No copy construct.
void operator=(const laplacianScheme &)=delete
No copy assignment.
virtual ~laplacianScheme()
Destructor.
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
tmp< edgeInterpolationScheme< scalar > > tinterpGammaScheme_
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian(const GeometricField< Type, faPatchField, areaMesh > &)=0
const faMesh & mesh() const
Return mesh reference.
tmp< lnGradScheme< Type > > tlnGradScheme_
static tmp< laplacianScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new laplacianScheme created on freestore.
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.
GeometricField< scalar, faePatchField, edgeMesh > edgeScalarField
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
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).