OGS
|
Namespaces | |
namespace | PhreeqcIOData |
namespace | PhreeqcKernelData |
namespace | SelfContainedSolverData |
Classes | |
class | ChemicalSolverInterface |
Enumerations | |
enum class | ChemicalSolver { Phreeqc , PhreeqcKernel , SelfContained } |
enum class | ChargeBalance { pH , pe , Unspecified } |
Functions | |
ChargeBalance | createChargeBalance (BaseLib::ConfigTree const &config) |
template<typename ReactionRate > | |
std::vector< ReactionRate > | createReactionRates (std::optional< BaseLib::ConfigTree > const &config) |
template std::vector< PhreeqcIOData::ReactionRate > | createReactionRates< PhreeqcIOData::ReactionRate > (std::optional< BaseLib::ConfigTree > const &config) |
template std::vector< PhreeqcKernelData::ReactionRate > | createReactionRates< PhreeqcKernelData::ReactionRate > (std::optional< BaseLib::ConfigTree > const &config) |
template<> | |
std::unique_ptr< ChemicalSolverInterface > | createChemicalSolverInterface< ChemicalSolver::Phreeqc > (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) |
template<> | |
std::unique_ptr< ChemicalSolverInterface > | createChemicalSolverInterface< ChemicalSolver::PhreeqcKernel > (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 &) |
template<> | |
std::unique_ptr< ChemicalSolverInterface > | createChemicalSolverInterface< ChemicalSolver::SelfContained > (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 &) |
template<ChemicalSolver chemical_solver> | |
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) |
|
strong |
Enumerator | |
---|---|
pH | |
pe | |
Unspecified |
Definition at line 15 of file ChargeBalance.h.
|
strong |
Enumerator | |
---|---|
Phreeqc | |
PhreeqcKernel | |
SelfContained |
Definition at line 15 of file ChemicalSolverType.h.
ChargeBalance ChemistryLib::createChargeBalance | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 19 of file CreateChargeBalance.cpp.
References BaseLib::ConfigTree::getConfigParameterOptional(), OGS_FATAL, pe, pH, and Unspecified.
Referenced by ChemistryLib::PhreeqcIOData::createAqueousSolution(), and ChemistryLib::PhreeqcKernelData::createInitialAqueousSolution().
std::unique_ptr< ChemicalSolverInterface > ChemistryLib::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 ) |
Referenced by ProjectData::parseChemicalSolverInterface().
std::unique_ptr< ChemicalSolverInterface > ChemistryLib::createChemicalSolverInterface< ChemicalSolver::Phreeqc > | ( | 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 ) |
Definition at line 44 of file CreateChemicalSolverInterface.cpp.
References BaseLib::ConfigTree::getConfigParameter(), BaseLib::getProjectDirectory(), INFO(), BaseLib::IsFileExisting(), BaseLib::joinPaths(), and OGS_FATAL.
std::unique_ptr< ChemicalSolverInterface > ChemistryLib::createChemicalSolverInterface< ChemicalSolver::PhreeqcKernel > | ( | 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 & | ) |
Definition at line 44 of file CreateChemicalSolverInterface.cpp.
std::unique_ptr< ChemicalSolverInterface > ChemistryLib::createChemicalSolverInterface< ChemicalSolver::SelfContained > | ( | 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 & | ) |
Definition at line 44 of file CreateChemicalSolverInterface.cpp.
std::vector< ReactionRate > ChemistryLib::createReactionRates | ( | std::optional< BaseLib::ConfigTree > const & | config | ) |
Definition at line 20 of file CreateReactionRate.cpp.
template std::vector< PhreeqcIOData::ReactionRate > ChemistryLib::createReactionRates< PhreeqcIOData::ReactionRate > | ( | std::optional< BaseLib::ConfigTree > const & | config | ) |
template std::vector< PhreeqcKernelData::ReactionRate > ChemistryLib::createReactionRates< PhreeqcKernelData::ReactionRate > | ( | std::optional< BaseLib::ConfigTree > const & | config | ) |