#include <main.h>
Definition at line 35 of file main.h.
◆ Application()
Application::Application |
( |
const std::string & |
python_path | ) |
|
◆ ~Application()
Application::~Application |
( |
| ) |
|
|
virtual |
Destructor.
Definition at line 392 of file main.cc.
◆ after_run()
void Application::after_run |
( |
| ) |
|
|
protected |
Check pause_after_run flag defined in input file.
Definition at line 364 of file main.cc.
◆ DECLARE_EXCEPTION()
Application::DECLARE_EXCEPTION |
( |
ExcVersionFormat |
, |
|
|
<< "Wrong format of the version specification: "<< EI_InputVersionStr::qval |
|
|
) |
| |
◆ DECLARE_INPUT_EXCEPTION()
Application::DECLARE_INPUT_EXCEPTION |
( |
ExcUnknownProblem |
, |
|
|
<< "Problem type not implemented.\n" |
|
|
) |
| |
◆ display_version()
void Application::display_version |
( |
| ) |
|
Displays program version and build info. Pass version information to Profiler.
TODO: Split these two functionalities.
Definition at line 109 of file main.cc.
◆ get_input_type()
Root of the Input::Type tree. Description of whole input structure.
Definition at line 62 of file main.cc.
◆ get_rev_num_data()
Get version of program and other base data from rev_num.h and store them to map.
Definition at line 97 of file main.cc.
◆ parse_cmd_line()
void Application::parse_cmd_line |
( |
const int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
protectedvirtual |
Parse command line parameters.
- Parameters
-
[in] | argc | command line argument count |
[in] | argv | command line arguments |
Implements ApplicationBase.
Definition at line 145 of file main.cc.
◆ read_input()
Read main input file
Returns accessor to the root Record.
Definition at line 127 of file main.cc.
◆ run()
void Application::run |
( |
| ) |
|
|
overridevirtual |
◆ terminate()
void Application::terminate |
( |
| ) |
|
Terminate all MPI processes if exception is thrown.
Definition at line 374 of file main.cc.
◆ TYPEDEF_ERR_INFO()
Application::TYPEDEF_ERR_INFO |
( |
EI_InputVersionStr |
, |
|
|
string |
|
|
) |
| |
◆ main_input_filename_
string Application::main_input_filename_ |
|
private |
filename of main input file
Definition at line 104 of file main.h.
◆ problem_
Main Flow123d problem.
Definition at line 101 of file main.h.
◆ profiler_path
string Application::profiler_path |
|
private |
location of the profiler report file
Definition at line 116 of file main.h.
◆ program_arguments_desc_
string Application::program_arguments_desc_ |
|
private |
Description of possible command line arguments.
Definition at line 110 of file main.h.
◆ root_record
root input record
Definition at line 122 of file main.h.
◆ use_profiler
bool Application::use_profiler |
|
private |
If true, we do output of profiling information.
Definition at line 113 of file main.h.
◆ yaml_balance_output_
bool Application::yaml_balance_output_ |
|
private |
If true, preserves output of balance in YAML format.
Definition at line 119 of file main.h.
The documentation for this class was generated from the following files:
- /opt/flow123d/flow123d/src/main.h
- /opt/flow123d/flow123d/src/main.cc