DUNE-ACFEM (2.5.1)

Dune::ACFem::ParameterInterface< ParameterImpl > Class Template Reference

Parameters are quasi-constant quantities, like the time-step size in one time-step when solving transient problems with finite element methods. More...

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

Public Member Functions

ValueType value () const
 Return the current value of the parameter. More...
 

Detailed Description

template<class ParameterImpl>
class Dune::ACFem::ParameterInterface< ParameterImpl >

Parameters are quasi-constant quantities, like the time-step size in one time-step when solving transient problems with finite element methods.

One of their purpose is to inject such parameters into expression-templates without losing access to the parameter. Good examples are the TimeStepParameter and InverseTimeStepParameter classes.

Member Function Documentation

◆ value()

template<class ParameterImpl >
ValueType Dune::ACFem::ParameterInterface< ParameterImpl >::value ( ) const
inline

Return the current value of the parameter.

The value is always returned as a copy. Parameters are intentionally scalars or (very) small Dune::FieldVector classes, although this is not defined by the interface.

References Dune::ACFem::asImp().


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.111.3 (Nov 12, 23:30, 2024)