28 double const ,
double const )
const
30 auto calculate_linearized_ratio =
31 [&variable_array](
double const initial_linearized_ratio,
auto const& iv)
33 return initial_linearized_ratio +
34 std::get<double>(iv.slope) *
35 (std::get<double>(variable_array[iv.type]) -
36 std::get<double>(iv.reference_condition));
39 double const linearized_ratio_to_reference_value =
43 calculate_linearized_ratio);
45 return std::get<double>(
value_) * linearized_ratio_to_reference_value;
PropertyDataType d2Value(VariableArray const &variable_array, Variable const pv1, Variable const pv2, ParameterLib::SpatialPosition const &, double const, double const) const override
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