OGS
CreateChemicalSolverInterface.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <map>
14#include <memory>
15#include <string>
16#include <vector>
17
18#include "ChemicalSolverType.h"
20
21namespace BaseLib
22{
23class ConfigTree;
24}
25
26namespace MeshLib
27{
28class Mesh;
29}
30
31namespace ChemistryLib
32{
33class ChemicalSolverInterface;
34
35template <ChemicalSolver chemical_solver>
36std::unique_ptr<ChemicalSolverInterface> createChemicalSolverInterface(
37 std::vector<std::unique_ptr<MeshLib::Mesh>> const& meshes,
38 std::map<std::string, std::unique_ptr<GlobalLinearSolver>> const&
39 linear_solvers,
40 BaseLib::ConfigTree const& config, std::string const& output_directory);
41} // namespace ChemistryLib
std::unique_ptr< ChemicalSolverInterface > createChemicalSolverInterface(std::vector< std::unique_ptr< MeshLib::Mesh > > const &meshes, std::map< std::string, std::unique_ptr< GlobalLinearSolver > > const &linear_solvers, BaseLib::ConfigTree const &config, std::string const &output_directory)