DUNE-ACFEM (2.5.1)
parameterfunction.hh
Go to the documentation of this file.
32 static_assert((std::is_same<typename Parameter::ValueType, typename FunctionSpace::FunctionSpaceType::RangeType>::value == true),
91 typedef Fem::DiscreteFunctionSpaceAdapter<FunctionSpaceType, GridPart> DiscreteFunctionSpaceType;
110 : public GridFunctionExpression<FunctionSpace, ParameterGridFunction<Parameter, FunctionSpace, GridPart> >,
117 static_assert((std::is_same<typename Parameter::ValueType, typename FunctionSpace::FunctionSpaceType::RangeType>::value == true),
A class providing some basic functionality common to all expressions.
Definition: gridfunctionexpressionbase.hh:35
const std::string & name() const
Return a descriptive name for the function.
Definition: gridfunctionexpressionbase.hh:56
A class describing a constant function.
Definition: parameterfunction.hh:31
ParameterGridFunction implements a constant function where the value is defined by something which fu...
Definition: parameterfunction.hh:112
Traits::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: parameterfunction.hh:125
ParameterGridFunction(const ParameterInterface< ParameterType > &value, const GridPart &grid)
Construct the ParameterGridFunction from its constituents: the parameter and the grid.
Definition: parameterfunction.hh:167
Traits::EntityType EntityType
type of codim 0 entity
Definition: parameterfunction.hh:150
LocalFunction LocalFunctionType
type of local function to export
Definition: parameterfunction.hh:162
DiscreteFunctionSpaceType::RangeType RangeType
range type (from function space)
Definition: parameterfunction.hh:143
ParameterGridFunctionTraits< Parameter, FunctionSpace, GridPart > Traits
type of traits
Definition: parameterfunction.hh:122
LocalFunctionType localFunction(const EntityType &entity)
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity)
Definition: parameterfunction.hh:196
Parameter ParameterType
Type of the parameter implementation.
Definition: parameterfunction.hh:158
DiscreteFunctionSpaceType::HessianRangeType HessianRangeType
hessian type (from function space)
Definition: parameterfunction.hh:147
const std::string & expressionName() const
See Dune::Fem::DiscreteFunctionInterface::name() const.
Definition: parameterfunction.hh:202
DiscreteFunctionSpaceType::RangeFieldType RangeFieldType
range type (from function space)
Definition: parameterfunction.hh:139
DiscreteFunctionSpaceType::DomainFieldType DomainFieldType
domain type (from function space)
Definition: parameterfunction.hh:137
DiscreteFunctionSpaceType::DomainType DomainType
domain type (from function space)
Definition: parameterfunction.hh:141
const DiscreteFunctionSpaceType & space() const
See Dune::Fem::DiscreteFunctionInterface::space() const.
Definition: parameterfunction.hh:209
void jacobian(const DomainType &global, JacobianRangeType &result) const
Evaluate jacobian in global coordinates.
Definition: parameterfunction.hh:178
DiscreteFunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian type (from function space)
Definition: parameterfunction.hh:145
void evaluate(const DomainType &global, RangeType &result) const
Evaluate function in global coordinates.
Definition: parameterfunction.hh:172
DiscreteFunctionSpaceType::GridPartType GridPartType
type of gridPart
Definition: parameterfunction.hh:131
DiscreteFunctionSpaceType::GridType GridType
type of grid
Definition: parameterfunction.hh:134
void hessian(const DomainType &global, HessianRangeType &result) const
Evaluate hessian in global coordinates.
Definition: parameterfunction.hh:184
const LocalFunctionType localFunction(const EntityType &entity) const
See Dune::Fem::DiscreteFunctionInterface::localFunction(const EntityType &entity) const.
Definition: parameterfunction.hh:190
Parameters are quasi-constant quantities, like the time-step size in one time-step when solving trans...
Definition: parameterinterface.hh:80
bool objectToString(const T &something, std::string &text)
Convert any object which has an associated output stream operator "<<" to a string,...
Definition: stringconversion.hh:20
Tag type, consequences are zero Jacobian and Hessian.
Definition: gridfunctionexpressionbase.hh:114
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)