OGS
CreateConstitutiveSetting.cpp
Go to the documentation of this file.
1
11
13
15{
16namespace ConstitutiveRelations
17{
18template <int DisplacementDim>
19std::map<int, std::shared_ptr<SolidConstitutiveRelation<DisplacementDim>>>
21 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
22 std::optional<ParameterLib::CoordinateSystem> const&
23 local_coordinate_system,
24 MeshLib::PropertyVector<int> const* const material_ids,
25 BaseLib::ConfigTree const& config)
26{
27 return MaterialLib::Solids::createConstitutiveRelations<DisplacementDim>(
28 parameters, local_coordinate_system, material_ids, config);
29}
30
31template struct CreateConstitutiveSetting<2>;
32template struct CreateConstitutiveSetting<3>;
33} // namespace ConstitutiveRelations
34} // namespace ProcessLib::SmallDeformation
static std::map< int, std::shared_ptr< SolidConstitutiveRelation< DisplacementDim > > > createSolidConstitutiveRelations(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, MeshLib::PropertyVector< int > const *const material_ids, BaseLib::ConfigTree const &config)