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 ExpressionType & | expression () const |
Return a const reference to the underlying expression. | |
ExpressionType & | expression () |
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 >
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:
- dune/acfem/expressions/parameterinterface.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)