OpenFOAM logo
Open Source CFD Toolkit

edgeInterpolationScheme Class Template Reference

Inheritance diagram for edgeInterpolationScheme:

Inheritance graph
[legend]
Collaboration diagram for edgeInterpolationScheme:

Collaboration graph
[legend]
List of all members.

template<class Type>
class Foam::edgeInterpolationScheme< Type >


Public Member Functions

 declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, MeshFlux,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 edgeInterpolationScheme (const faMesh &mesh)
 Construct from mesh.
virtual ~edgeInterpolationScheme ()
const faMesh & mesh () const
 Return mesh reference.
virtual tmp< edgeScalarField > weights (const GeometricField< Type, faPatchField, areaMesh > &) const =0
 Return the interpolation weighting factors for the given field.
virtual bool corrected () const
 Return true if this scheme uses an explicit correction.
virtual tmp< GeometricField<
Type, faPatchField, edgeMesh > > 
correction (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the explicit correction to the face-interpolate.
virtual tmp< GeometricField<
Type, faPatchField, edgeMesh > > 
interpolate (const GeometricField< Type, faPatchField, areaMesh > &) const
 Return the face-interpolate of the given cell field.
tmp< GeometricField< Type,
faPatchField, edgeMesh > > 
interpolate (const tmp< GeometricField< Type, faPatchField, areaMesh > > &) const
 Return the face-interpolate of the given tmp cell field.

Static Public Member Functions

tmp< edgeInterpolationScheme<
Type > > 
New (const faMesh &mesh, Istream &schemeData)
 Return new tmp interpolation scheme.
tmp< edgeInterpolationScheme<
Type > > 
New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
 Return new tmp interpolation scheme.
tmp< GeometricField< Type,
faPatchField, edgeMesh > > 
interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const tmp< edgeScalarField > &)
 Return the face-interpolate of the given cell field.
tmp< GeometricField< Type,
faPatchField, edgeMesh > > 
interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &)
 Return the face-interpolate of the given cell field.

Constructor & Destructor Documentation

edgeInterpolationScheme (  const faMesh &  mesh  )  [inline]
 

Construct from mesh.

Definition at line 113 of file edgeInterpolationScheme.H.

virtual ~edgeInterpolationScheme (   )  [virtual]
 


Member Function Documentation

virtual bool corrected (   )  const [inline, virtual]
 

Return true if this scheme uses an explicit correction.

Reimplemented in skewLinearEdgeInterpolation.

Definition at line 182 of file edgeInterpolationScheme.H.

virtual tmp<GeometricField<Type, faPatchField, edgeMesh> > correction (  const GeometricField< Type, faPatchField, areaMesh > &   )  const [inline, virtual]
 

Return the explicit correction to the face-interpolate.

for the given field

Reimplemented in skewLinearEdgeInterpolation.

Definition at line 192 of file edgeInterpolationScheme.H.

declareRunTimeSelectionTable (  tmp  ,
edgeInterpolationScheme< Type >  ,
MeshFlux  ,
(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)  ,
(mesh, faceFlux, schemeData) 
) 
 

declareRunTimeSelectionTable (  tmp  ,
edgeInterpolationScheme< Type >  ,
Mesh  ,
(const faMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData) 
) 
 

tmp<GeometricField<Type, faPatchField, edgeMesh> > interpolate (  const tmp< GeometricField< Type, faPatchField, areaMesh > > &   )  const
 

Return the face-interpolate of the given tmp cell field.

with explicit correction

virtual tmp<GeometricField<Type, faPatchField, edgeMesh> > interpolate (  const GeometricField< Type, faPatchField, areaMesh > &   )  const [virtual]
 

Return the face-interpolate of the given cell field.

with explicit correction

tmp<GeometricField<Type, faPatchField, edgeMesh> > interpolate (  const GeometricField< Type, faPatchField, areaMesh > &  ,
const tmp< edgeScalarField > & 
)  [static]
 

Return the face-interpolate of the given cell field.

with the given weigting factors

tmp<GeometricField<Type, faPatchField, edgeMesh> > interpolate (  const GeometricField< Type, faPatchField, areaMesh > &  ,
const tmp< edgeScalarField > &  ,
const tmp< edgeScalarField > & 
)  [static]
 

Return the face-interpolate of the given cell field.

with the given owner and neighbour weigting factors

const faMesh& mesh (   )  const [inline]
 

Return mesh reference.

Definition at line 145 of file edgeInterpolationScheme.H.

Referenced by linearEdgeInterpolation::weights().

tmp<edgeInterpolationScheme<Type> > New (  const faMesh &  mesh,
const edgeScalarField &  faceFlux,
Istream &  schemeData
)  [static]
 

Return new tmp interpolation scheme.

tmp<edgeInterpolationScheme<Type> > New (  const faMesh &  mesh,
Istream &  schemeData
)  [static]
 

Return new tmp interpolation scheme.

virtual tmp<edgeScalarField> weights (  const GeometricField< Type, faPatchField, areaMesh > &   )  const [pure virtual]
 

Return the interpolation weighting factors for the given field.

Implemented in blendedEdgeInterpolation, linearEdgeInterpolation, faNVDscheme, and upwindEdgeInterpolation.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org