31#ifdef OGS_EMBED_PYTHON_INTERPRETER
32#include <pybind11/embed.h>
77 std::string
const& project_directory,
78 std::string
const& output_directory,
79 std::string
const& mesh_directory,
80 [[maybe_unused]] std::string
const& script_directory);
89 std::vector<std::unique_ptr<ProcessLib::Process>>
const&
getProcesses()
99 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>>
const&
119 void parseMedia(std::optional<BaseLib::ConfigTree>
const& media_config);
125 std::string
const& project_directory,
126 std::string
const& output_directory,
127 std::unique_ptr<ChemistryLib::ChemicalSolverInterface>&&
128 chemical_solver_interface);
132 const std::string& output_directory);
138 void parseCurves(std::optional<BaseLib::ConfigTree>
const& config);
140 std::unique_ptr<ChemistryLib::ChemicalSolverInterface>
142 std::optional<BaseLib::ConfigTree>
const& config,
143 const std::string& output_directory);
147 std::vector<std::unique_ptr<ProcessLib::Process>>
_processes;
151 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
_parameters;
155 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>>
_media;
162 std::map<std::string, std::unique_ptr<NumLib::NonlinearSolverBase>>
164 std::map<std::string,
165 std::unique_ptr<MathLib::PiecewiseLinearInterpolation>>
168#ifdef OGS_EMBED_PYTHON_INTERPRETER
169 std::optional<pybind11::scoped_interpreter> _py_scoped_interpreter;
Definition of the PiecewiseLinearInterpolation class.
Time loop capable of time-integrating several processes at once.
std::map< std::string, std::unique_ptr< GlobalLinearSolver > > _linear_solvers
std::optional< ParameterLib::CoordinateSystem > _local_coordinate_system
ProcessLib::TimeLoop & getTimeLoop()
std::map< std::string, std::unique_ptr< NumLib::NonlinearSolverBase > > _nonlinear_solvers
MeshLib::Mesh & getMesh(std::string const &mesh_name) const
void parseProcesses(BaseLib::ConfigTree const &processes_config, std::string const &project_directory, std::string const &output_directory, std::unique_ptr< ChemistryLib::ChemicalSolverInterface > &&chemical_solver_interface)
std::unique_ptr< ChemistryLib::ChemicalSolverInterface > parseChemicalSolverInterface(std::optional< BaseLib::ConfigTree > const &config, const std::string &output_directory)
void parseMedia(std::optional< BaseLib::ConfigTree > const &media_config)
Parses media configuration and saves them in an object.
void parseLinearSolvers(BaseLib::ConfigTree const &config)
std::vector< std::unique_ptr< ParameterLib::ParameterBase > > _parameters
Buffer for each parameter config passed to the process.
std::vector< std::unique_ptr< ProcessLib::Process > > _processes
std::vector< GeoLib::NamedRaster > _named_rasters
void parseNonlinearSolvers(BaseLib::ConfigTree const &config)
std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const & getMedia() const
std::vector< ProcessLib::ProcessVariable > _process_variables
void parseProcessVariables(BaseLib::ConfigTree const &process_variables_config)
std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > _curves
void parseCurves(std::optional< BaseLib::ConfigTree > const &config)
std::vector< std::unique_ptr< MeshLib::Mesh > > _mesh_vec
void parseTimeLoop(BaseLib::ConfigTree const &config, const std::string &output_directory)
Parses the time loop configuration.
std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > _media
ProjectData(ProjectData &)=delete
std::vector< std::string > parseParameters(BaseLib::ConfigTree const ¶meters_config)
std::vector< std::unique_ptr< ProcessLib::Process > > const & getProcesses() const
Provides read access to the process container.
std::unique_ptr< ProcessLib::TimeLoop > _time_loop
The time loop used to solve this project's processes.