DUNE-ACFEM (2.5.1)

Dune::ACFem::NonZeroExpression< ExpressionImpl > Struct Template Reference

Complementary to ZeroExpression for use in std::conditional, for example, otherwise unused. More...

#include <dune/acfem/expressions/expressionoperations.hh>

+ Collaboration diagram for Dune::ACFem::NonZeroExpression< ExpressionImpl >:

Public Types

typedef ExpressionImpl ExpressionType
 The type of the underlying expression.
 

Public Member Functions

const ExpressionTypeexpression () const
 Return a const reference to the underlying expression.
 
ExpressionTypeexpression ()
 Return a mutable reference to the underlying expression.
 
ExpressionType operator* () const
 Return a copy from of the underlying expression.
 

Detailed Description

template<class ExpressionImpl>
struct Dune::ACFem::NonZeroExpression< ExpressionImpl >

Complementary to ZeroExpression for use in std::conditional, for example, otherwise unused.

This is not the same as !ZeroExpression, because this struct expresses knowledge that the expression indeed is non zero at run time.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 5, 22:29, 2024)