OGS
CreateStaggeredCoupling.h
Go to the documentation of this file.
1
12#pragma once
13
14#include <memory>
15#include <string>
16#include <vector>
17
18namespace BaseLib
19{
20class ConfigTree;
21}
22
23namespace NumLib
24{
25class ConvergenceCriterion;
26
27class StaggeredCoupling;
28
30{
31 std::vector<std::string> process_names;
33};
34
35std::tuple<std::vector<std::unique_ptr<NumLib::ConvergenceCriterion>>,
36 std::vector<LocalCouplingParameters>,
37 int>
39
41template <typename ProcessData>
42std::unique_ptr<StaggeredCoupling> createStaggeredCoupling(
43 BaseLib::ConfigTree const& config,
44 std::vector<std::unique_ptr<ProcessData>> const& per_process_data);
45
46} // namespace NumLib
47
std::unique_ptr< StaggeredCoupling > createStaggeredCoupling(BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ProcessData > > const &per_process_data)
Create a StaggeredCoupling instance from the given configuration.
std::tuple< std::vector< std::unique_ptr< NumLib::ConvergenceCriterion > >, std::vector< LocalCouplingParameters >, int > parseCoupling(BaseLib::ConfigTree const &config)
std::vector< std::string > process_names