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

#include <fvMatrixExpression.H>

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

Public Types

typedef E1::value_type value_type
 Type to return for internal field.
typedef List_subtract< typename E1::DiagExpr, typename E2::DiagExpr > DiagExpr
 Type to return for containers.
typedef List_subtract< typename E1::UpperExpr, typename E2::UpperExpr > UpperExpr
typedef List_subtract< typename E1::LowerExpr, typename E2::LowerExpr > LowerExpr
typedef GF_subtract< typename E1::FaceFluxExpr, typename E2::FaceFluxExpr > FaceFluxExpr
typedef List_subtract< typename E1::SourceExpr, typename E2::SourceExpr > SourceExpr

Public Member Functions

 fvm_subtract (const E1 &u, const E2 &v)
DiagExpr diag () const
UpperExpr upper () const
LowerExpr lower () const
SourceExpr source () const
UpperExpr internalCoeffs (const label i) const
UpperExpr boundaryCoeffs (const label i) const
FaceFluxExpr faceFluxCorrection () const
Public Member Functions inherited from fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >
 fvMatrixExpression (const bool hasDiag, const bool hasUpper, const bool hasLower, const bool hasFaceFluxCorrection, const dimensionSet &dimensions)
DiagExpr diag () const
UpperExpr upper () const
LowerExpr lower () const
bool hasDiag () const
bool hasUpper () const
bool hasLower () const
bool diagonal () const
bool symmetric () const
bool asymmetric () const
bool hasFaceFluxCorrection () const
SourceExpr source ()
UpperExpr internalCoeffs (const label i)
UpperExpr boundaryCoeffs (const label i)
FaceFluxExpr faceFluxCorrection () 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< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >
static constexpr bool is_leaf

Additional Inherited Members

Protected Attributes inherited from fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >
const bool hasDiag_
const bool hasUpper_
const bool hasLower_
const bool hasFaceFluxCorrection_
dimensionSet dimensions_

Detailed Description

template<typename E1, typename E2>
class Foam::Expression::fvm_subtract< E1, E2 >

Definition at line 877 of file fvMatrixExpression.H.

Member Typedef Documentation

◆ value_type

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

Type to return for internal field.

Definition at line 919 of file fvMatrixExpression.H.

◆ DiagExpr

template<typename E1, typename E2>
typedef List_subtract< typename E1::DiagExpr, typename E2::DiagExpr > DiagExpr

Type to return for containers.

Definition at line 928 of file fvMatrixExpression.H.

◆ UpperExpr

template<typename E1, typename E2>
typedef List_subtract< typename E1::UpperExpr, typename E2::UpperExpr > UpperExpr

Definition at line 933 of file fvMatrixExpression.H.

◆ LowerExpr

template<typename E1, typename E2>
typedef List_subtract< typename E1::LowerExpr, typename E2::LowerExpr > LowerExpr

Definition at line 938 of file fvMatrixExpression.H.

◆ FaceFluxExpr

template<typename E1, typename E2>
typedef GF_subtract< typename E1::FaceFluxExpr, typename E2::FaceFluxExpr > FaceFluxExpr

Definition at line 943 of file fvMatrixExpression.H.

◆ SourceExpr

template<typename E1, typename E2>
typedef List_subtract< typename E1::SourceExpr, typename E2::SourceExpr > SourceExpr

Definition at line 948 of file fvMatrixExpression.H.

Constructor & Destructor Documentation

◆ fvm_subtract()

template<typename E1, typename E2>
fvm_subtract ( const E1 & u,
const E2 & v )
inline

Definition at line 950 of file fvMatrixExpression.H.

References fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >::dimensions(), fvm_subtract(), fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >::fvMatrixExpression(), fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >::hasDiag(), fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >::hasFaceFluxCorrection(), fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >::hasLower(), and fvMatrixExpression< fvm_subtract< E1, E2 >, List_subtract< E1::DiagExpr, E2::DiagExpr >, List_subtract< E1::UpperExpr, E2::UpperExpr >, List_subtract< E1::LowerExpr, E2::LowerExpr >, GF_subtract< E1::FaceFluxExpr, E2::FaceFluxExpr >, List_subtract< E1::SourceExpr, E2::SourceExpr > >::hasUpper().

Referenced by fvm_subtract().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ diag()

template<typename E1, typename E2>
DiagExpr diag ( ) const
inline

Definition at line 975 of file fvMatrixExpression.H.

◆ upper()

template<typename E1, typename E2>
UpperExpr upper ( ) const
inline

Definition at line 980 of file fvMatrixExpression.H.

◆ lower()

template<typename E1, typename E2>
LowerExpr lower ( ) const
inline

Definition at line 985 of file fvMatrixExpression.H.

◆ source()

template<typename E1, typename E2>
SourceExpr source ( ) const
inline

Definition at line 993 of file fvMatrixExpression.H.

◆ internalCoeffs()

template<typename E1, typename E2>
UpperExpr internalCoeffs ( const label i) const
inline

Definition at line 998 of file fvMatrixExpression.H.

◆ boundaryCoeffs()

template<typename E1, typename E2>
UpperExpr boundaryCoeffs ( const label i) const
inline

Definition at line 1003 of file fvMatrixExpression.H.

◆ faceFluxCorrection()

template<typename E1, typename E2>
FaceFluxExpr faceFluxCorrection ( ) const
inline

Definition at line 1008 of file fvMatrixExpression.H.

Member Data Documentation

◆ is_leaf

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

Definition at line 914 of file fvMatrixExpression.H.


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