OGS
CreateMFront.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <memory>
13#include <vector>
14
18
19namespace MaterialLib
20{
21namespace Solids
22{
23namespace MFront
24{
25template <int DisplacementDim>
26std::unique_ptr<MechanicsBase<DisplacementDim>> createMFront(
27 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
28 std::optional<ParameterLib::CoordinateSystem> const&
29 local_coordinate_system,
30 BaseLib::ConfigTree const& config);
31
32extern template std::unique_ptr<MechanicsBase<2>> createMFront<2>(
33 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
34 std::optional<ParameterLib::CoordinateSystem> const&
35 local_coordinate_system,
36 BaseLib::ConfigTree const& config);
37extern template std::unique_ptr<MechanicsBase<3>> createMFront<3>(
38 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
39 std::optional<ParameterLib::CoordinateSystem> const&
40 local_coordinate_system,
41 BaseLib::ConfigTree const& config);
42} // namespace MFront
43} // namespace Solids
44} // namespace MaterialLib
template std::unique_ptr< MechanicsBase< 2 > > createMFront< 2 >(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, BaseLib::ConfigTree const &config)
std::unique_ptr< MechanicsBase< DisplacementDim > > createMFront(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, BaseLib::ConfigTree const &config)
template std::unique_ptr< MechanicsBase< 3 > > createMFront< 3 >(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, BaseLib::ConfigTree const &config)