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) limitedSurfaceInterpolationScheme(const fvMesh &mesh, const surfaceScalarField &faceFlux)
Construct from mesh and faceFlux.
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const =0
Return the interpolation weighting factors.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static tmp< limitedSurfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
TypeName("limitedSurfaceInterpolationScheme")
Runtime type information.
A class for handling words, derived from string.
const surfaceScalarField & faceFlux_
void operator=(const limitedSurfaceInterpolationScheme &)=delete
Disallow default bitwise assignment.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &, const surfaceScalarField &CDweights, tmp< surfaceScalarField > tLimiter) const
Return the interpolation weighting factors for the given field,.
declareRunTimeSelectionTable(tmp, limitedSurfaceInterpolationScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for limited surface interpolation schemes.
A class for managing temporary objects.
Abstract base class for surface interpolation schemes.
virtual ~limitedSurfaceInterpolationScheme()
Destructor.