20template <
int DisplacementDim>
21std::unique_ptr<MaterialLib::Solids::MechanicsBase<DisplacementDim>>
23 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
24 std::optional<ParameterLib::CoordinateSystem>
const&
25 local_coordinate_system,
28 auto const ice_constitutive_relation_config =
32 if (!ice_constitutive_relation_config)
37 return MaterialLib::Solids::createConstitutiveRelation<DisplacementDim>(
38 parameters, local_coordinate_system, *ice_constitutive_relation_config);
41template std::unique_ptr<MaterialLib::Solids::MechanicsBase<2>>
43 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
44 std::optional<ParameterLib::CoordinateSystem>
const&
45 local_coordinate_system,
48template std::unique_ptr<MaterialLib::Solids::MechanicsBase<3>>
50 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
51 std::optional<ParameterLib::CoordinateSystem>
const&
52 local_coordinate_system,
std::optional< ConfigTree > getConfigSubtreeOptional(std::string const &root) const
std::unique_ptr< MaterialLib::Solids::MechanicsBase< DisplacementDim > > createConstitutiveRelationIce(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, BaseLib::ConfigTree const &config)