![]() |
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 |
| int | finalize () |
| int | status () const |
| bool | initialized () const |
Private Attributes | |
| int | ogs_status = EXIT_SUCCESS |
| std::unique_ptr< Simulation > | simulation |
| std::optional< ApplicationsLib::TestDefinition > | test_definition |
| bool | test_definition_pending = false |
| 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, BaseLib::MPI::OGS_COMM_WORLD, 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 209 of file ogs_python_module.cpp.
References initialized(), OGS_ALWAYS_ASSERT, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 215 of file ogs_python_module.cpp.
References initialized(), OGS_ALWAYS_ASSERT, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 143 of file ogs_python_module.cpp.
References BaseLib::RunTime::elapsed(), ERR(), BaseLib::formatDate(), INFO(), initialized(), OGS_ALWAYS_ASSERT, ogs_status, simulation, BaseLib::RunTime::start(), test_definition, and test_definition_pending.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 192 of file ogs_python_module.cpp.
References ERR(), initialized(), OGS_ALWAYS_ASSERT, ogs_status, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 251 of file ogs_python_module.cpp.
References BaseLib::ConfigTree::assertNoSwallowedErrors(), ERR(), mpi_setup, ogs_status, Simulation::runTestDefinitions(), simulation, test_definition, and test_definition_pending.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 221 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 244 of file ogs_python_module.cpp.
References initialized(), OGS_ALWAYS_ASSERT, and simulation.
Referenced by PYBIND11_MODULE().
|
inline |
Definition at line 285 of file ogs_python_module.cpp.
References simulation.
Referenced by currentTime(), endTime(), executeSimulation(), executeTimeStep(), getMesh(), getMeshNames(), and PYBIND11_MODULE().
|
inline |
Definition at line 283 of file ogs_python_module.cpp.
References ogs_status.
Referenced by PYBIND11_MODULE().
|
private |
Definition at line 294 of file ogs_python_module.cpp.
Referenced by getMesh().
|
private |
Definition at line 295 of file ogs_python_module.cpp.
Referenced by OGSSimulation(), and finalize().
|
private |
Definition at line 288 of file ogs_python_module.cpp.
Referenced by OGSSimulation(), executeSimulation(), executeTimeStep(), finalize(), and status().
|
private |
Definition at line 290 of file ogs_python_module.cpp.
Referenced by OGSSimulation(), currentTime(), endTime(), executeSimulation(), executeTimeStep(), finalize(), getMesh(), getMeshNames(), and initialized().
|
private |
Definition at line 291 of file ogs_python_module.cpp.
Referenced by executeSimulation(), and finalize().
|
private |
Definition at line 293 of file ogs_python_module.cpp.
Referenced by executeSimulation(), and finalize().