35 #ifndef limitedSurfaceInterpolationScheme_H
36 #define limitedSurfaceInterpolationScheme_H
65 TypeName(
"limitedSurfaceInterpolationScheme");
92 (
mesh, faceFlux, schemeData)
203 #define makelimitedSurfaceInterpolationTypeScheme(SS, Type) \
205 defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \
207 surfaceInterpolationScheme<Type>::addMeshConstructorToTable<SS<Type>> \
208 add##SS##Type##MeshConstructorToTable_; \
210 surfaceInterpolationScheme<Type>::addMeshFluxConstructorToTable<SS<Type>> \
211 add##SS##Type##MeshFluxConstructorToTable_; \
213 limitedSurfaceInterpolationScheme<Type>::addMeshConstructorToTable<SS<Type>> \
214 add##SS##Type##MeshConstructorToLimitedTable_; \
216 limitedSurfaceInterpolationScheme<Type>:: \
217 addMeshFluxConstructorToTable<SS<Type>> \
218 add##SS##Type##MeshFluxConstructorToLimitedTable_;
220 #define makelimitedSurfaceInterpolationScheme(SS) \
222 makelimitedSurfaceInterpolationTypeScheme(SS, scalar) \
223 makelimitedSurfaceInterpolationTypeScheme(SS, vector) \
224 makelimitedSurfaceInterpolationTypeScheme(SS, sphericalTensor) \
225 makelimitedSurfaceInterpolationTypeScheme(SS, symmTensor) \
226 makelimitedSurfaceInterpolationTypeScheme(SS, tensor)
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 Volume discretisation.
Abstract base class for limited surface interpolation schemes.
const surfaceScalarField & faceFlux_
limitedSurfaceInterpolationScheme(const fvMesh &mesh, const surfaceScalarField &faceFlux)
Construct from mesh and faceFlux.
void operator=(const limitedSurfaceInterpolationScheme &)=delete
Disallow default bitwise assignment.
static tmp< limitedSurfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
virtual tmp< surfaceScalarField > limiter(const VolField< Type > &) const =0
Return the interpolation weighting factors.
tmp< surfaceScalarField > weights(const VolField< Type > &, const surfaceScalarField &CDweights, tmp< surfaceScalarField > tLimiter) const
Return the interpolation weighting factors for the given field,.
virtual ~limitedSurfaceInterpolationScheme()
Destructor.
virtual tmp< SurfaceField< Type > > flux(const VolField< Type > &) const
Return the interpolation weighting factors.
declareRunTimeSelectionTable(tmp, limitedSurfaceInterpolationScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
TypeName("limitedSurfaceInterpolationScheme")
Runtime type information.
Abstract base class for surface interpolation schemes.
const fvMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.
A class for handling words, derived from string.