Public Member Functions | List of all members
fixedBlended< Type > Class Template Reference

Two-scheme fixed-blending differencing scheme. More...

Inheritance diagram for fixedBlended< Type >:
Inheritance graph
[legend]
Collaboration diagram for fixedBlended< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("fixedBlended")
 
 fixedBlended (const fvMesh &mesh, Istream &is)
 
 fixedBlended (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
 
tmp< surfaceScalarFieldweights (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 
virtual bool corrected () const
 
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 
- Public Member Functions inherited from surfaceInterpolationScheme< Type >
 TypeName ("surfaceInterpolationScheme")
 
 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)
 
virtual ~surfaceInterpolationScheme ()=default
 
const fvMeshmesh () const
 
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate (const surfaceVectorField &Sf, const GeometricField< Type, fvPatchField, volMesh > &vf) const
 
tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate (const surfaceVectorField &Sf, const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const
 
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from surfaceInterpolationScheme< Type >
static tmp< surfaceInterpolationScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 
static tmp< surfaceInterpolationScheme< Type > > New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
 
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &)
 
template<class SFType >
static tmp< GeometricField< typename innerProduct< typename SFType::value_type, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate (const SFType &Sf, const GeometricField< Type, fvPatchField, volMesh > &vf, const tmp< surfaceScalarField > &tlambdas)
 
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &)
 

Detailed Description

template<class Type>
class Foam::fixedBlended< Type >

Two-scheme fixed-blending differencing scheme.

Similar to localBlended but uses a single (global) constant blending factor. The factor applies to the first scheme and 1-factor to the second scheme.

Note
Although a blending factor of 0 and 1 is permitted, it is more efficient just to use the underlying scheme directly.
Source files

Definition at line 58 of file fixedBlended.H.

Constructor & Destructor Documentation

◆ fixedBlended() [1/2]

fixedBlended ( const fvMesh mesh,
Istream is 
)
inline

Definition at line 94 of file fixedBlended.H.

References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and Foam::Info.

Here is the call graph for this function:

◆ fixedBlended() [2/2]

fixedBlended ( const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream is 
)
inline

Definition at line 130 of file fixedBlended.H.

References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and Foam::Info.

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "fixedBlended< Type >"  )

◆ weights()

tmp<surfaceScalarField> weights ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const
inlinevirtual

Implements surfaceInterpolationScheme< Type >.

Definition at line 170 of file fixedBlended.H.

◆ interpolate()

tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const
inlinevirtual

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 184 of file fixedBlended.H.

◆ corrected()

virtual bool corrected ( ) const
inlinevirtual

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 195 of file fixedBlended.H.

Referenced by fixedBlended< Type >::correction().

Here is the caller graph for this function:

◆ correction()

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

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 205 of file fixedBlended.H.

References fixedBlended< Type >::corrected().

Here is the call graph for this function:

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