multivariateSelectionScheme< Type > Class Template Reference

Generic multi-variate discretisation scheme class for which any of the NVD, CNVD or NVDV schemes may be selected for each variable. More...

Inheritance diagram for multivariateSelectionScheme< Type >:
[legend]
Collaboration diagram for multivariateSelectionScheme< Type >:
[legend]

Classes

class  fieldScheme
 surfaceInterpolationScheme sub-class returned by operator(field) More...
 

Public Member Functions

 TypeName ("multivariateSelection")
 Runtime type information. More...
 
 multivariateSelectionScheme (const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
 Construct for field, faceFlux and Istream. More...
 
tmp< surfaceInterpolationScheme< Type > > operator() (const GeometricField< Type, fvPatchField, volMesh > &field) const
 
- Public Member Functions inherited from multivariateSurfaceInterpolationScheme< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, multivariateSurfaceInterpolationScheme, Istream,(const fvMesh &mesh, const fieldTable &fields, const surfaceScalarField &faceFlux, Istream &is),(mesh, fields, faceFlux, is))
 
 multivariateSurfaceInterpolationScheme (const fvMesh &mesh, const fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
 Construct for interpolating given field. More...
 
virtual ~multivariateSurfaceInterpolationScheme ()=default
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
const fieldTablefields () const
 Return fields to be interpolated. More...
 
virtual tmp< surfaceInterpolationScheme< Type > > operator() (const GeometricField< Type, fvPatchField, volMesh > &field) const =0
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int count () const noexcept
 Return the current reference count. More...
 
bool unique () const noexcept
 Return true if the reference count is zero. More...
 
void operator++ () noexcept
 Increment the reference count. More...
 
void operator++ (int) noexcept
 Increment the reference count. More...
 
void operator-- () noexcept
 Decrement the reference count. More...
 
void operator-- (int) noexcept
 Decrement the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from multivariateSurfaceInterpolationScheme< Type >
static tmp< multivariateSurfaceInterpolationScheme< Type > > New (const fvMesh &mesh, const fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
 Return a pointer to a new gradScheme created on freestore. More...
 

Detailed Description

template<class Type>
class Foam::multivariateSelectionScheme< Type >

Generic multi-variate discretisation scheme class for which any of the NVD, CNVD or NVDV schemes may be selected for each variable.

Source files

Definition at line 53 of file multivariateSelectionScheme.H.

Constructor & Destructor Documentation

◆ multivariateSelectionScheme()

multivariateSelectionScheme ( const fvMesh mesh,
const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &  fields,
const surfaceScalarField faceFlux,
Istream schemeData 
)

Construct for field, faceFlux and Istream.

Definition at line 39 of file multivariateSelectionScheme.C.

References LList< LListBase, T >::cbegin(), Foam::dimless, multivariateSurfaceInterpolationScheme< Type >::fields(), Foam::limiter(), dictionary::lookup(), multivariateSurfaceInterpolationScheme< Type >::mesh(), Foam::min(), Foam::name(), and upwind< Type >::weights().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "multivariateSelection"  )

Runtime type information.

◆ operator()()

tmp< surfaceInterpolationScheme< Type > > operator() ( const GeometricField< Type, fvPatchField, volMesh > &  field) const
inlinevirtual

Implements multivariateSurfaceInterpolationScheme< Type >.

Definition at line 135 of file multivariateSelectionScheme.H.

References field().

Here is the call graph for this function:

The documentation for this class was generated from the following files: