surfaceInterpolationScheme< Type > Class Template ReferenceAbstract base class for surface interpolation schemes.
More...
List of all members.
|
Public Member Functions |
| | TypeName ("surfaceInterpolationScheme") |
| | Runtime type information.
|
| | declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) |
| | declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, MeshFlux,(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData)) |
| | surfaceInterpolationScheme (const fvMesh &mesh) |
| | Construct from mesh.
|
| virtual | ~surfaceInterpolationScheme () |
| const fvMesh & | mesh () const |
| | Return mesh reference.
|
| virtual tmp< surfaceScalarField > | weights (const GeometricField< Type, fvPatchField, volMesh > &) 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, fvsPatchField,
surfaceMesh > > | correction (const GeometricField< Type, fvPatchField, volMesh > &) const |
| | Return the explicit correction to the face-interpolate.
|
virtual tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &) const |
| | Return the face-interpolate of the given cell field.
|
tmp< GeometricField< Type,
fvsPatchField, surfaceMesh > > | interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const |
| | Return the face-interpolate of the given tmp cell field.
|
Static Public Member Functions |
static tmp
< surfaceInterpolationScheme
< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
| | Return new tmp interpolation scheme.
|
static tmp
< surfaceInterpolationScheme
< Type > > | New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData) |
| | Return new tmp interpolation scheme.
|
static tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &) |
| | Return the face-interpolate of the given cell field.
|
static tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &) |
| | Return the face-interpolate of the given cell field.
|
Detailed Description
template<class Type>
class Foam::surfaceInterpolationScheme< Type >
Abstract base class for surface interpolation schemes.
- Source files
-
Definition at line 51 of file surfaceInterpolationScheme.H.
Constructor & Destructor Documentation
Member Function Documentation
| TypeName |
( |
"surfaceInterpolationScheme< Type >" |
|
) |
|
Runtime type information.
| const fvMesh& mesh |
( |
|
) |
const [inline] |
Return the face-interpolate of the given cell field.
with the given owner and neighbour weigting factors
with the given owner and neighbour weighting factors
Definition at line 157 of file surfaceInterpolationScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), tmp< T >::clear(), IOobject::db(), fvSchemes::debug, DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::Info, IOobject::instance(), GeometricField< Type, PatchField, GeoMesh >::internalField(), DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), fvMesh::neighbour(), fvMesh::owner(), Foam::mathematicalConstant::pi, sf(), UList< T >::size(), and y.
Referenced by surfaceInterpolationScheme< Type >::interpolate().
Return the face-interpolate of the given cell field.
with the given weighting factors
with the given weigting factors
Definition at line 242 of file surfaceInterpolationScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), tmp< T >::clear(), IOobject::db(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::Info, IOobject::instance(), GeometricField< Type, PatchField, GeoMesh >::internalField(), DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), fvMesh::neighbour(), fvMesh::owner(), Foam::mathematicalConstant::pi, sf(), and UList< T >::size().
Return the interpolation weighting factors for the given field.
Implemented in blended< Type >, limitedSurfaceInterpolationScheme< Type >, limitWith< Type >, upwind< Type >, fieldScheme, fieldScheme, fieldScheme, fieldScheme, clippedLinear< Type >, downwind< Type >, fixedBlended< Type >, harmonic, linear< Type >, localBlended< Type >, localMax< Type >, localMin< Type >, midPoint< Type >, outletStabilised< Type >, reverseLinear< Type >, skewCorrected< Type >, weighted< Type >, limitedSurfaceInterpolationScheme< Type >, upwind< Type >, and linear< Type >.
Referenced by surfaceInterpolationScheme< Type >::interpolate().
| virtual bool corrected |
( |
|
) |
const [inline, virtual] |
Return true if this scheme uses an explicit correction.
Reimplemented in limitWith< Type >, linearUpwind< Type >, linearUpwindV< Type >, CentredFitScheme< Type, Polynomial, Stencil >, cubic< Type >, fixedBlended< Type >, outletStabilised< Type >, PureUpwindFitScheme< Type, Polynomial, Stencil >, skewCorrected< Type >, and UpwindFitScheme< Type, Polynomial, Stencil >.
Definition at line 176 of file surfaceInterpolationScheme.H.
Referenced by surfaceInterpolationScheme< Type >::interpolate().
Return the explicit correction to the face-interpolate.
for the given field
Reimplemented in limitWith< Type >, linearUpwind< Type >, linearUpwindV< Type >, CentredFitScheme< Type, Polynomial, Stencil >, cubic< Type >, fixedBlended< Type >, outletStabilised< Type >, PureUpwindFitScheme< Type, Polynomial, Stencil >, skewCorrected< Type >, and UpwindFitScheme< Type, Polynomial, Stencil >.
Definition at line 186 of file surfaceInterpolationScheme.H.
Referenced by surfaceInterpolationScheme< Type >::interpolate().
Return the face-interpolate of the given cell field.
with explicit correction
Reimplemented in fixedBlended< Type >, harmonic, localBlended< Type >, localMax< Type >, and localMin< Type >.
Definition at line 320 of file surfaceInterpolationScheme.C.
References surfaceInterpolationScheme< Type >::corrected(), surfaceInterpolationScheme< Type >::correction(), fvSchemes::debug, Foam::endl(), Foam::Info, surfaceInterpolationScheme< Type >::interpolate(), and surfaceInterpolationScheme< Type >::weights().
The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd
|