https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: a9245df68847fb704a9d4f84a8101dc7141caa3c authored by Norbert Grunwald on 03 September 2021, 09:03:00 UTC
[TH2M/PT] More information in case of ogs_fatal helps to find prj-error
Tip revision: a9245df
CreateChemicalSolverInterface.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <memory>
#include <string>
#include <vector>

#include "ChemicalSolverType.h"

namespace BaseLib
{
class ConfigTree;
}

namespace MeshLib
{
class Mesh;
}

namespace ChemistryLib
{
class ChemicalSolverInterface;

template <ChemicalSolver chemical_solver>
std::unique_ptr<ChemicalSolverInterface> createChemicalSolverInterface(
    std::vector<std::unique_ptr<MeshLib::Mesh>> const& meshes,
    BaseLib::ConfigTree const& config, std::string const& output_directory);
}  // namespace ChemistryLib
back to top