https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: dcfa23e7a117f2148c1b38c66ff76b15d8b67e71 authored by Lars Bilke on 23 June 2020, 12:02:48 UTC
Changelog for 6.3.1
Tip revision: dcfa23e
ChemicalSolverInterface.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2020, 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 "MathLib/LinAlg/GlobalMatrixVectorTypes.h"

namespace ChemistryLib
{
class ChemicalSolverInterface
{
public:
    virtual void executeInitialCalculation(
        std::vector<GlobalVector*>& process_solutions) = 0;

    virtual void doWaterChemistryCalculation(
        std::vector<GlobalVector*>& process_solutions, double const dt) = 0;

    virtual std::vector<std::string> const getComponentList() const
    {
        return {};
    }

    virtual ~ChemicalSolverInterface() = default;
};
}  // namespace ChemistryLib
back to top