OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cubic< Type > Class Template Reference

Cubic interpolation scheme class derived from linear and returns linear weighting factors but also applies an explicit correction. More...

Inheritance diagram for cubic< Type >:
Collaboration diagram for cubic< Type >:

List of all members.


Public Member Functions

 TypeName ("cubic")
 Runtime type information.
 cubic (const fvMesh &mesh)
 Construct from mesh.
 cubic (const fvMesh &mesh, Istream &)
 Construct from mesh and Istream.
 cubic (const fvMesh &mesh, const surfaceScalarField &, Istream &)
 Construct from mesh, faceFlux and Istream.
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 > &vf) const
 Return the explicit correction to the face-interpolate.

Detailed Description

template<class Type>
class Foam::cubic< Type >

Cubic interpolation scheme class derived from linear and returns linear weighting factors but also applies an explicit correction.

Source files

Definition at line 47 of file cubic.H.


Constructor & Destructor Documentation

cubic ( const fvMesh &  mesh  )  [inline]

Construct from mesh.

Definition at line 69 of file cubic.H.

cubic ( const fvMesh &  mesh,
Istream &   
) [inline]

Construct from mesh and Istream.

Definition at line 76 of file cubic.H.

cubic ( const fvMesh &  mesh,
const surfaceScalarField &  ,
Istream &   
) [inline]

Construct from mesh, faceFlux and Istream.

Definition at line 86 of file cubic.H.


Member Function Documentation

TypeName ( "cubic< Type >"   ) 

Runtime type information.

virtual bool corrected (  )  const [inline, virtual]

Return true if this scheme uses an explicit correction.

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 99 of file cubic.H.

virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > correction ( const GeometricField< Type, fvPatchField, volMesh > &  vf  )  const [inline, virtual]

Return the explicit correction to the face-interpolate.

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 107 of file cubic.H.


The documentation for this class was generated from the following file:
  • src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H
Copyright © 2000-2009 OpenCFD Ltd