OGS 6.2.2-330-gf48c72f61.dirty.20200225212913
CreateComponent.h
Go to the documentation of this file.
1 
13 #include <boost/optional.hpp>
14 #include <memory>
15 
16 #include "Component.h"
17 
18 namespace BaseLib
19 {
20 class ConfigTree;
21 }
22 namespace ParameterLib
23 {
24 struct ParameterBase;
25 struct CoordinateSystem;
26 }
27 
28 namespace MaterialPropertyLib
29 {
38 std::vector<std::unique_ptr<Component>> createComponents(
39  boost::optional<BaseLib::ConfigTree> const& config,
40  std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
41  ParameterLib::CoordinateSystem const* const local_coordinate_system);
42 
43 } // namespace MaterialPropertyLib
std::vector< std::unique_ptr< Component > > createComponents(boost::optional< BaseLib::ConfigTree > const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const &parameters, ParameterLib::CoordinateSystem const *const local_coordinate_system)
Functionality to build different search length algorithm objects from given config.