![]() |
OGS
|
|
Definition at line 51 of file ogs_python_module.cpp.
Public Member Functions | |
| OGSSimulation (std::vector< std::string > &argv_str) | |
| int | executeSimulation () |
| int | executeTimeStep () |
| double | currentTime () const |
| double | endTime () const |
| OGSMesh & | getMesh (std::string const &name) |
| std::vector< std::string > | getMeshNames () const |
| void | finalize () |
| int | status () const |
| bool | initialized () const |
Private Attributes | |
| int | ogs_status = EXIT_SUCCESS |
| std::unique_ptr< Simulation > | simulation |
| std::map< std::string, OGSMesh > | mesh_mapping |
| std::optional< BaseLib::MPI::Setup > | mpi_setup |
|
inlineexplicit |
Definition at line 54 of file ogs_python_module.cpp.
References BaseLib::createOutputDirectory(), DBUG(), BaseLib::defaultLogLevel(), ERR(), BaseLib::formatDate(), INFO(), BaseLib::initOGSLogger(), CommandLineArguments::log_level, CommandLineArguments::mesh_dir, mpi_setup, CommandLineArguments::nonfatal, ogs_status, GitInfoLib::GitInfo::ogs_version, CommandLineArguments::outdir, parseCommandLineArguments(), CommandLineArguments::project, CommandLineArguments::reference_path, CommandLineArguments::reference_path_is_set, CommandLineArguments::script_dir, simulation, toArgcArgv(), CommandLineArguments::write_prj, and CommandLineArguments::xml_patch_file_names.
|
inline |
Definition at line 200 of file ogs_python_module.cpp.
References initialized(), OGS_ALWAYS_ASSERT, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 206 of file ogs_python_module.cpp.
References initialized(), OGS_ALWAYS_ASSERT, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 132 of file ogs_python_module.cpp.
References BaseLib::RunTime::elapsed(), ERR(), BaseLib::formatDate(), INFO(), initialized(), OGS_ALWAYS_ASSERT, ogs_status, Simulation::runTestDefinitions(), simulation, and BaseLib::RunTime::start().
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 183 of file ogs_python_module.cpp.
References ERR(), initialized(), OGS_ALWAYS_ASSERT, ogs_status, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 242 of file ogs_python_module.cpp.
References BaseLib::ConfigTree::assertNoSwallowedErrors(), ERR(), mpi_setup, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 212 of file ogs_python_module.cpp.
References INFO(), initialized(), mesh_mapping, OGS_ALWAYS_ASSERT, OGS_FATAL, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 235 of file ogs_python_module.cpp.
References initialized(), OGS_ALWAYS_ASSERT, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 267 of file ogs_python_module.cpp.
References simulation.
Referenced by currentTime(), endTime(), executeSimulation(), executeTimeStep(), getMesh(), getMeshNames(), and PYBIND11_MODULE().
|
inline |
Definition at line 265 of file ogs_python_module.cpp.
References ogs_status.
Referenced by PYBIND11_MODULE().
|
private |
Definition at line 273 of file ogs_python_module.cpp.
Referenced by getMesh().
|
private |
Definition at line 274 of file ogs_python_module.cpp.
Referenced by OGSSimulation(), and finalize().
|
private |
Definition at line 270 of file ogs_python_module.cpp.
Referenced by OGSSimulation(), executeSimulation(), executeTimeStep(), and status().
|
private |
Definition at line 272 of file ogs_python_module.cpp.
Referenced by OGSSimulation(), currentTime(), endTime(), executeSimulation(), executeTimeStep(), finalize(), getMesh(), getMeshNames(), and initialized().