DUNE-ACFEM (2.5.1)

Dune::ACFem::TrivialParameter< Value > Class Template Reference

A simple wrapper: a really constant parameter. More...

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

+ Collaboration diagram for Dune::ACFem::TrivialParameter< Value >:

Public Types

typedef TrivialParameter< Value > ExpressionType
 The type of the underlying expression.
 

Public Member Functions

 TrivialParameter (const ValueType &value)
 Construct the parameter from a verbatim value.
 
 TrivialParameter (const std::string &configKey)
 Construct the parameter from Fem::Parameter.
 
 TrivialParameter (const std::string &configKey, const ValueType &defaultValue)
 Construct the parameter from Fem::Parameter.
 
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 Value>
class Dune::ACFem::TrivialParameter< Value >

A simple wrapper: a really constant parameter.

Big fat note: this is meant for atomic data-types. We store a copy of the data item, not a reference.


The documentation for this class 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)