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 MeshLib
24{
25template <typename T>
26class PropertyVector;
27}
28namespace ParameterLib
29{
30struct ParameterBase;
31struct CoordinateSystem;
32} // namespace ParameterLib
33
35{
36namespace ConstitutiveRelations
37{
38template <int DisplacementDim>
40{
41 static std::map<int,
42 std::shared_ptr<SolidConstitutiveRelation<DisplacementDim>>>
44 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
45 parameters,
46 std::optional<ParameterLib::CoordinateSystem> const&
47 local_coordinate_system,
48 MeshLib::PropertyVector<int> const* const material_ids,
49 BaseLib::ConfigTree const& config);
50};
51} // namespace ConstitutiveRelations
52} // 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)