![]() |
OGS
|
|
Definition at line 22 of file CurveScaledParameter.h.
#include <CurveScaledParameter.h>
Public Member Functions | |
| CurveScaledParameter (std::string const &name_, MathLib::PiecewiseLinearInterpolation const &curve, std::string referenced_parameter_name) | |
| bool | isTimeDependent () const override |
| void | initialize (std::vector< std::unique_ptr< ParameterBase > > const ¶meters) override |
| int | getNumberOfGlobalComponents () const override |
| std::vector< T > | operator() (double const t, SpatialPosition const &pos) const override |
| Returns the parameter value at the given time and position. | |
| Public Member Functions inherited from ParameterLib::Parameter< T > | |
| ~Parameter () override=default | |
| virtual Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | getNodalValuesOnElement (MeshLib::Element const &element, double const t) const |
| Returns a matrix of values for all nodes of the given element. | |
| ParameterBase (std::string name_, MeshLib::Mesh const *mesh=nullptr) | |
| Public Member Functions inherited from ParameterLib::ParameterBase | |
| ParameterBase (std::string name_, MeshLib::Mesh const *mesh=nullptr) | |
| virtual | ~ParameterBase ()=default |
| void | setCoordinateSystem (CoordinateSystem const &coordinate_system) |
| MeshLib::Mesh const * | mesh () const |
Private Attributes | |
| MathLib::PiecewiseLinearInterpolation const & | _curve |
| Parameter< T > const * | _parameter = nullptr |
| std::string const | _referenced_parameter_name |
Additional Inherited Members | |
| Public Attributes inherited from ParameterLib::ParameterBase | |
| std::string const | name |
| Protected Member Functions inherited from ParameterLib::ParameterBase | |
| std::vector< double > | rotateWithCoordinateSystem (std::vector< double > const &values, SpatialPosition const &pos) const |
| Protected Attributes inherited from ParameterLib::ParameterBase | |
| std::optional< CoordinateSystem > | _coordinate_system |
| MeshLib::Mesh const * | _mesh |
|
inline |
Definition at line 24 of file CurveScaledParameter.h.
References _curve, and _referenced_parameter_name.
|
inlineoverridevirtual |
Returns the number of components this Parameter has at every position and point in time.
Implements ParameterLib::Parameter< T >.
Definition at line 42 of file CurveScaledParameter.h.
References _parameter.
|
inlineoverridevirtual |
Parameters might depend on each other; this method allows to set up the dependencies between parameters after they have been constructed.
Reimplemented from ParameterLib::ParameterBase.
Definition at line 34 of file CurveScaledParameter.h.
References ParameterLib::ParameterBase::_mesh, _parameter, _referenced_parameter_name, and ParameterLib::findParameter().
|
inlineoverridevirtual |
Implements ParameterLib::ParameterBase.
Definition at line 33 of file CurveScaledParameter.h.
|
inlineoverridevirtual |
Returns the parameter value at the given time and position.
Implements ParameterLib::Parameter< T >.
Definition at line 47 of file CurveScaledParameter.h.
References ParameterLib::ParameterBase::_coordinate_system, _curve, and _parameter.
|
private |
Definition at line 69 of file CurveScaledParameter.h.
Referenced by CurveScaledParameter(), and operator()().
|
private |
Definition at line 70 of file CurveScaledParameter.h.
Referenced by getNumberOfGlobalComponents(), initialize(), and operator()().
|
private |
Definition at line 71 of file CurveScaledParameter.h.
Referenced by CurveScaledParameter(), and initialize().