59 template<
class Type,
class PhiLimiter>
139 #define makePhiSurfaceInterpolationScheme(SS, WEIGHT, TYPE) \
141 typedef PhiScheme<TYPE, WEIGHT> Phischeme##WEIGHT_; \
142 defineTemplateTypeNameAndDebugWithName(Phischeme##WEIGHT_, #SS, 0); \
144 surfaceInterpolationScheme<TYPE>::addMeshConstructorToTable \
145 <PhiScheme<TYPE, WEIGHT>> add##SS##TYPE##MeshConstructorToTable_; \
147 surfaceInterpolationScheme<TYPE>::addMeshFluxConstructorToTable \
148 <PhiScheme<TYPE, WEIGHT>> add##SS##TYPE##MeshFluxConstructorToTable_; \
150 limitedSurfaceInterpolationScheme<TYPE>::addMeshConstructorToTable \
151 <PhiScheme<TYPE, WEIGHT>> add##SS##TYPE##MeshConstructorToLimitedTable_; \
153 limitedSurfaceInterpolationScheme<TYPE>::addMeshFluxConstructorToTable \
154 <PhiScheme<TYPE, WEIGHT>> add##SS##TYPE##MeshFluxConstructorToLimitedTable_;
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Class with limiter function which returns the limiter for the Phi interpolation scheme.
Class to create the weighting-factors based on the face-flux.
virtual tmp< surfaceScalarField > limiter(const VolField< Type > &) const
Return the interpolation weighting factors.
PhiScheme(const fvMesh &mesh, const surfaceScalarField &faceFlux, const PhiLimiter &weight)
Construct from mesh, faceFlux and blendingFactor.
TypeName("PhiScheme")
Runtime type information.
void operator=(const PhiScheme &)=delete
Disallow default bitwise assignment.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for limited surface interpolation schemes.
const fvMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.