OGS
Parameter.h
Go to the documentation of this file.
1
10#pragma once
11
15
16namespace MaterialPropertyLib
17{
21class Parameter final : public Property
22{
23public:
24 Parameter(std::string name,
25 ParameterLib::Parameter<double> const& parameter);
26
29 PropertyDataType value(VariableArray const& variable_array,
31 double const t, double const dt) const override;
32
33 PropertyDataType value(VariableArray const& variable_array,
34 VariableArray const& variable_array_prev,
36 double const t, double const dt) const override;
37
40 PropertyDataType dValue(VariableArray const& variable_array,
41 Variable const variable,
42 ParameterLib::SpatialPosition const& /*pos*/,
43 double const /*t*/,
44 double const /*dt*/) const override;
47 PropertyDataType d2Value(VariableArray const& variable_array,
48 Variable const pv1, Variable const pv2,
49 ParameterLib::SpatialPosition const& /*pos*/,
50 double const /*t*/,
51 double const /*dt*/) const override;
52
53private:
55};
56} // namespace MaterialPropertyLib
ParameterLib::Parameter< double > const & parameter_
Definition Parameter.h:54
PropertyDataType d2Value(VariableArray const &variable_array, Variable const pv1, Variable const pv2, ParameterLib::SpatialPosition const &, double const, double const) const override
Definition Parameter.cpp:46
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &, double const, double const) const override
Definition Parameter.cpp:37
Parameter(std::string name, ParameterLib::Parameter< double > const &parameter)
Definition Parameter.cpp:15
virtual PropertyDataType value() const
Definition Property.cpp:76
std::variant< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 3, 1 >, Eigen::Matrix< double, 2, 2 >, Eigen::Matrix< double, 3, 3 >, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 >, Eigen::MatrixXd > PropertyDataType
Definition Property.h:31