Go to the documentation of this file.
37 #ifndef edgeInterpolationScheme_H
38 #define edgeInterpolationScheme_H
100 (
mesh, faceFlux, schemeData)
197 virtual tmp<GeometricField<Type, faePatchField, edgeMesh>>
198 interpolate(
const GeometricField<Type, faPatchField, areaMesh>&)
const;
202 virtual tmp<GeometricField<Type, faePatchField, edgeMesh>>
205 const GeometricField<Type, faPatchField, areaMesh>&
210 tmp<GeometricField<Type, faePatchField, edgeMesh>>
213 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
226 #define makeEdgeInterpolationTypeScheme(SS, Type) \
228 defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \
230 edgeInterpolationScheme<Type>::addMeshConstructorToTable<SS<Type>> \
231 add##SS##Type##MeshConstructorToTable_; \
233 edgeInterpolationScheme<Type>::addMeshFluxConstructorToTable<SS<Type>> \
234 add##SS##Type##MeshFluxConstructorToTable_;
236 #define makeEdgeInterpolationScheme(SS) \
238 makeEdgeInterpolationTypeScheme(SS, scalar) \
239 makeEdgeInterpolationTypeScheme(SS, vector) \
240 makeEdgeInterpolationTypeScheme(SS, tensor)
virtual bool corrected() const
virtual tmp< edgeScalarField > weights(const GeometricField< Type, faPatchField, areaMesh > &) const =0
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction(const GeometricField< Type, faPatchField, areaMesh > &) const
Abstract base class for edge interpolation schemes.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > euclidianInterpolate(const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &)
A class for managing temporary objects.
Reference counter for various OpenFOAM components.
edgeInterpolationScheme(const faMesh &mesh)
const faMesh & mesh() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Forwards and collection of common area field types.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const tmp< edgeScalarField > &)
declareRunTimeSelectionTable(tmp, edgeInterpolationScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
Macros to ease declaration of run-time selection tables.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
Generic GeometricField class.
Forwards for edge field types.
static tmp< edgeInterpolationScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
virtual ~edgeInterpolationScheme()