Go to the documentation of this file.
35 #ifndef limitedSurfaceInterpolationScheme_H
36 #define limitedSurfaceInterpolationScheme_H
76 TypeName(
"limitedSurfaceInterpolationScheme");
103 (
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)
A class for handling words, derived from string.
A class for managing temporary objects.
virtual ~limitedSurfaceInterpolationScheme()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
declareRunTimeSelectionTable(tmp, limitedSurfaceInterpolationScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
TypeName("limitedSurfaceInterpolationScheme")
Runtime type information.
limitedSurfaceInterpolationScheme(const limitedSurfaceInterpolationScheme &)
Disallow copy construct.
void operator=(const limitedSurfaceInterpolationScheme &)
Disallow default bitwise assignment.
Mesh data needed to do the Finite Volume discretisation.
const surfaceScalarField & faceFlux_
Abstract base class for limited surface interpolation schemes.
static tmp< limitedSurfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const =0
Return the interpolation weighting factors.
Abstract base class for surface interpolation schemes.
const fvMesh & mesh() const
Return mesh reference.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Generic GeometricField class.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &, const surfaceScalarField &CDweights, tmp< surfaceScalarField > tLimiter) const
Return the interpolation weighting factors for the given field,.