Loading...
Searching...
No Matches
fvMatrixInternal< E1, E2 > Class Template Reference

fvMatrix, internal parts and dimensions only. No upper/lower/boundaryCoeffs More...

#include <fvMatrixExpression.H>

Inheritance diagram for fvMatrixInternal< E1, E2 >:
Collaboration diagram for fvMatrixInternal< E1, E2 >:

Public Types

typedef E1::value_type value_type
 Type to return for internal field.
typedef E1 DiagExpr
 Type to return for containers.
typedef E1 UpperExpr
typedef E1 LowerExpr
typedef GeometricField< value_type, fvPatchField, volMeshFaceFluxExpr
typedef E2 SourceExpr

Public Member Functions

 fvMatrixInternal (const dimensionSet &dimensions, const DiagExpr &diag, const SourceExpr &source)
 fvMatrixInternal (const dimensionSet &dimensions, const DiagExpr &&diag, const SourceExpr &&source)
auto diag () const
auto upper () const
auto lower () const
auto source () const
auto internalCoeffs (const label i) const
auto boundaryCoeffs (const label i) const
auto faceFluxCorrection () const
Public Member Functions inherited from fvMatrixExpression< fvMatrixInternal< E1, E2 >, E1, E1, E1, GeometricField< E1::value_type, fvPatchField, volMesh >, E2 >
 fvMatrixExpression (const bool hasDiag, const bool hasUpper, const bool hasLower, const bool hasFaceFluxCorrection, const dimensionSet &dimensions)
E1 diag () const
E1 upper () const
E1 lower () const
bool hasDiag () const
bool hasUpper () const
bool hasLower () const
bool diagonal () const
bool symmetric () const
bool asymmetric () const
bool hasFaceFluxCorrection () const
E2 source ()
E1 internalCoeffs (const label i)
E1 boundaryCoeffs (const label i)
GeometricField< E1::value_type, fvPatchField, volMeshfaceFluxCorrection () const
const dimensionSetdimensions () const noexcept
Matrixevaluate (Matrix &m) const
 Helper to evaluate (=construct) an fvMatrix.

Static Public Attributes

static constexpr bool is_leaf = false
Static Public Attributes inherited from fvMatrixExpression< fvMatrixInternal< E1, E2 >, E1, E1, E1, GeometricField< E1::value_type, fvPatchField, volMesh >, E2 >
static constexpr bool is_leaf

Additional Inherited Members

Protected Attributes inherited from fvMatrixExpression< fvMatrixInternal< E1, E2 >, E1, E1, E1, GeometricField< E1::value_type, fvPatchField, volMesh >, E2 >
const bool hasDiag_
const bool hasUpper_
const bool hasLower_
const bool hasFaceFluxCorrection_
dimensionSet dimensions_

Detailed Description

template<class E1, class E2>
class Foam::Expression::fvMatrixInternal< E1, E2 >

fvMatrix, internal parts and dimensions only. No upper/lower/boundaryCoeffs

etc. Used for source manipulation.

Definition at line 1196 of file fvMatrixExpression.H.

Member Typedef Documentation

◆ value_type

template<class E1, class E2>
typedef E1::value_type value_type

Type to return for internal field.

Definition at line 1215 of file fvMatrixExpression.H.

◆ DiagExpr

template<class E1, class E2>
typedef E1 DiagExpr

Type to return for containers.

Definition at line 1220 of file fvMatrixExpression.H.

◆ UpperExpr

template<class E1, class E2>
typedef E1 UpperExpr

Definition at line 1221 of file fvMatrixExpression.H.

◆ LowerExpr

template<class E1, class E2>
typedef E1 LowerExpr

Definition at line 1222 of file fvMatrixExpression.H.

◆ FaceFluxExpr

template<class E1, class E2>
typedef GeometricField<value_type, fvPatchField, volMesh> FaceFluxExpr

Definition at line 1224 of file fvMatrixExpression.H.

◆ SourceExpr

template<class E1, class E2>
typedef E2 SourceExpr

Definition at line 1225 of file fvMatrixExpression.H.

Constructor & Destructor Documentation

◆ fvMatrixInternal() [1/2]

template<class E1, class E2>
fvMatrixInternal ( const dimensionSet & dimensions,
const DiagExpr & diag,
const SourceExpr & source )
inline

◆ fvMatrixInternal() [2/2]

Member Function Documentation

◆ diag()

template<class E1, class E2>
auto diag ( ) const
inline

Definition at line 1304 of file fvMatrixExpression.H.

Referenced by fvMatrixInternal(), and fvMatrixInternal().

Here is the caller graph for this function:

◆ upper()

template<class E1, class E2>
auto upper ( ) const
inline

Definition at line 1309 of file fvMatrixExpression.H.

References List< T >::null().

Here is the call graph for this function:

◆ lower()

template<class E1, class E2>
auto lower ( ) const
inline

Definition at line 1314 of file fvMatrixExpression.H.

References List< T >::null().

Here is the call graph for this function:

◆ source()

template<class E1, class E2>
auto source ( ) const
inline

Definition at line 1322 of file fvMatrixExpression.H.

Referenced by fvMatrixInternal(), and fvMatrixInternal().

Here is the caller graph for this function:

◆ internalCoeffs()

template<class E1, class E2>
auto internalCoeffs ( const label i) const
inline

Definition at line 1327 of file fvMatrixExpression.H.

References List< T >::null().

Here is the call graph for this function:

◆ boundaryCoeffs()

template<class E1, class E2>
auto boundaryCoeffs ( const label i) const
inline

Definition at line 1332 of file fvMatrixExpression.H.

References List< T >::null().

Here is the call graph for this function:

◆ faceFluxCorrection()

template<class E1, class E2>
auto faceFluxCorrection ( ) const
inline

Definition at line 1337 of file fvMatrixExpression.H.

References GeometricField< Type, PatchField, GeoMesh >::null().

Here is the call graph for this function:

Member Data Documentation

◆ is_leaf

template<class E1, class E2>
bool is_leaf = false
staticconstexpr

Definition at line 1210 of file fvMatrixExpression.H.


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