8 : alphas_(
"alphas"), mus_(
"mus"), Ds_(
"Ds")
24 std::map<std::string, ParamFunc> res;
26 const auto &
mus = this->
mus();
27 const auto &
Ds = this->
Ds();
34 for (
int i = 0; i <
mus.
size(); ++i)
36 return mus[i](p, t, e);
39 for (
int i = 0; i <
Ds.
size(); ++i)
41 return Ds[i](p, t, e);
49 : coefficients_(
"c"), expoenents_(
"m"), bulk_modulus_(
"k")
63 std::map<std::string, ParamFunc> res;
std::string stress() const
void add_multimaterial(const int index, const json ¶ms, const std::string &unit_type)
void add_multimaterial(const int index, const json ¶ms, const std::string &unit_type)
void add_multimaterial(const int index, const json ¶ms, const Units &units) override
IncompressibleOgdenElasticity()
GenericMatParams coefficients_
GenericMatParam bulk_modulus_
GenericMatParams expoenents_
const GenericMatParam & bulk_modulus() const
Bulk modulus.
std::map< std::string, ParamFunc > parameters() const override
const GenericMatParams & coefficients() const
Coefficient of nth term, where n can range from 1 to 6.
const GenericMatParams & expoenents() const
Exponent of nth term, where n can range from 1 to 6.
const GenericMatParams & mus() const
const GenericMatParams & Ds() const
std::map< std::string, ParamFunc > parameters() const override
UnconstrainedOgdenElasticity()
const GenericMatParams & alphas() const
void add_multimaterial(const int index, const json ¶ms, const Units &units) override
Eigen::Matrix< double, 1, Eigen::Dynamic, Eigen::RowMajor, 1, 3 > RowVectorNd