OGS
CreateConstitutiveSetting.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <map>
13#include <memory>
14#include <optional>
15#include <vector>
16
17#include "SolidMechanics.h"
18
19namespace BaseLib
20{
21class ConfigTree;
22}
23namespace ParameterLib
24{
25struct ParameterBase;
26struct CoordinateSystem;
27} // namespace ParameterLib
28
30{
31namespace ConstitutiveRelations
32{
33template <int DisplacementDim>
35{
36 static std::map<int,
37 std::unique_ptr<SolidConstitutiveRelation<DisplacementDim>>>
39 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
40 parameters,
41 std::optional<ParameterLib::CoordinateSystem> const&
42 local_coordinate_system,
43 BaseLib::ConfigTree const& config);
44};
45} // namespace ConstitutiveRelations
46} // namespace ProcessLib::SmallDeformation
static std::map< int, std::unique_ptr< SolidConstitutiveRelation< DisplacementDim > > > createSolidConstitutiveRelations(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, BaseLib::ConfigTree const &config)