OGS
CreateConstitutiveSetting.cpp
Go to the documentation of this file.
1
12
15
17{
18namespace ConstitutiveStressSaturation_StrainPressureTemperature
19{
20template <int DisplacementDim>
21std::unique_ptr<SolidConstitutiveRelation<DisplacementDim>> createMFrontGeneric(
22 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
23 std::optional<ParameterLib::CoordinateSystem> const&
24 local_coordinate_system,
25 BaseLib::ConfigTree const& config)
26{
28 using namespace boost::mp11;
29
31 DisplacementDim, mp_list<MSM::Strain, MSM::LiquidPressure>,
32 mp_list<MSM::Stress, MSM::Saturation>, mp_list<MSM::Temperature>>(
33 parameters, local_coordinate_system, config);
34}
35
36template <int DisplacementDim>
37std::map<int, std::shared_ptr<SolidConstitutiveRelation<DisplacementDim>>>
39 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
40 std::optional<ParameterLib::CoordinateSystem> const&
41 local_coordinate_system,
42 MeshLib::PropertyVector<int> const* const material_ids,
43 BaseLib::ConfigTree const& config)
44{
46 parameters, local_coordinate_system, material_ids, config,
48}
49
50template struct CreateConstitutiveSetting<2>;
51template struct CreateConstitutiveSetting<3>;
52} // namespace ConstitutiveStressSaturation_StrainPressureTemperature
53} // namespace ProcessLib::ThermoRichardsMechanics
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)