|
Molecular Dynamics Simulation
1.0
|
#include "CLIParser.h"#include <boost/program_options.hpp>#include <limits>#include "io/logger/Logger.h"#include "spdlog/sinks/rotating_file_sink.h"
Go to the source code of this file.
Functions | |
| CLIParams | parse_arguments (int argc, char *argsv[]) |
| Parses the command line arguments. More... | |
| SimulationParams | merge_parameters (const CLIParams ¶ms_cli, const std::optional< SimulationParams > &file_params) |
| Merges the simulation parameters retrieved via the command line with the ones from the XML file. Command line arguments have priority. More... | |
| SimulationParams merge_parameters | ( | const CLIParams & | params_cli, |
| const std::optional< SimulationParams > & | file_params | ||
| ) |
Merges the simulation parameters retrieved via the command line with the ones from the XML file. Command line arguments have priority.
| params_cli | Simulation parameters retrieved via Command line arguments |
| file_params | Simulation parameters retrieved via the parsed input file |
Merges the command line arguments with the parameters retrieved from the file. Command line arguments have priority.
Definition at line 69 of file CLIParser.cpp.
| CLIParams parse_arguments | ( | int | argc, |
| char * | argsv[] | ||
| ) |
Parses the command line arguments.
| argc | Number of arguments |
| argsv | Array of arguments |
Parses the command line arguments and returns a tuple containing all the arguments.
Definition at line 9 of file CLIParser.cpp.