Revision a51d00b1f66ea6a89813defddc2bb56d39e7d521 authored by Christoph Lehmann on 09 February 2023, 19:20:38 UTC, committed by Christoph Lehmann on 09 February 2023, 19:20:38 UTC
Fix point heat source notebook typesetting See merge request ogs/ogs!4461
ChemicalSystem.h
/**
* \file
* \copyright
* Copyright (c) 2012-2023, 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 <variant>
#include <vector>
#include "AqueousSolution.h"
#include "EquilibriumReactant.h"
#include "Exchange.h"
#include "KineticReactant.h"
#include "Surface.h"
namespace ChemistryLib
{
namespace PhreeqcIOData
{
struct ChemicalSystem
{
ChemicalSystem(std::unique_ptr<AqueousSolution>&& aqueous_solution_,
std::vector<KineticReactant>&& kinetic_reactants_,
std::vector<EquilibriumReactant>&& equilibrium_reactants_,
std::vector<ExchangeSite>&& exchangers_,
std::vector<std::variant<DensityBasedSurfaceSite,
MoleBasedSurfaceSite>>&& surface_)
: aqueous_solution(std::move(aqueous_solution_)),
kinetic_reactants(std::move(kinetic_reactants_)),
equilibrium_reactants(std::move(equilibrium_reactants_)),
exchangers(std::move(exchangers_)),
surface(std::move(surface_))
{
}
void initialize(std::size_t const num_chemical_systems);
std::unique_ptr<AqueousSolution> aqueous_solution;
std::vector<KineticReactant> kinetic_reactants;
std::vector<EquilibriumReactant> equilibrium_reactants;
std::vector<ExchangeSite> exchangers;
std::vector<std::variant<DensityBasedSurfaceSite, MoleBasedSurfaceSite>>
surface;
};
} // namespace PhreeqcIOData
} // namespace ChemistryLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...