OGS
CreateConstitutiveSetting.cpp
Go to the documentation of this file.
1
11
14
16{
17namespace ConstitutiveRelations
18{
19template <int DisplacementDim>
20std::unique_ptr<SolidConstitutiveRelation<DisplacementDim>> createMFrontGeneric(
21 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
22 std::optional<ParameterLib::CoordinateSystem> const&
23 local_coordinate_system,
24 BaseLib::ConfigTree const& config)
25{
27 using namespace boost::mp11;
28
30 DisplacementDim, mp_list<MSM::DeformationGradient>,
31 mp_list<MSM::SecondPiolaKirchhoffStress>, mp_list<MSM::Temperature>>(
32 parameters, local_coordinate_system, config);
33}
34
35template <int DisplacementDim>
36std::map<int, std::shared_ptr<SolidConstitutiveRelation<DisplacementDim>>>
38 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
39 std::optional<ParameterLib::CoordinateSystem> const&
40 local_coordinate_system,
41 MeshLib::PropertyVector<int> const* const material_ids,
42 BaseLib::ConfigTree const& config)
43{
45 parameters, local_coordinate_system, material_ids, config,
47}
48
49template struct CreateConstitutiveSetting<2>;
50template struct CreateConstitutiveSetting<3>;
51} // namespace ConstitutiveRelations
52} // namespace ProcessLib::LargeDeformation
std::unique_ptr< MFrontGeneric< DisplacementDim, Gradients, TDynForces, ExtStateVars > > createMFrontGeneric(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, BaseLib::ConfigTree const &config)
std::map< int, std::shared_ptr< SolidConstitutiveRelation > > createConstitutiveRelationsGeneric(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, std::unique_ptr< SolidConstitutiveRelation >(*create_constitutive_relation)(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &, std::optional< ParameterLib::CoordinateSystem > const &, BaseLib::ConfigTree const &))
std::unique_ptr< SolidConstitutiveRelation< DisplacementDim > > createMFrontGeneric(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, BaseLib::ConfigTree const &config)
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)