9#include <deal.II/base/logstream.h>
10#include <deal.II/base/parameter_handler.h>
71 std::list<std::string>
args;
Class to read parameters given from the command line and from a parameter file.
Definition configuration_helper.hh:21
static bool logger_initialized
Definition configuration_helper.hh:83
ConfigurationHelper(const JSONValue &json)
Construct a new Configuration Helper object from a JSONValue object.
std::string parameter_file
Definition configuration_helper.hh:81
void append(std::string arg)
Add a CLI-like argument to the list of arguments.
ConfigurationHelper(int argc, char *argv[], const std::string parameter_file="parameter.json")
Construct a new Configuration Helper object To get an overview of the available arguments,...
std::string get_output_name() const
std::string get_log_file() const
void generate_parameter_file()
bool parsed
Definition configuration_helper.hh:79
std::string get_parameter_file() const
std::list< std::pair< std::string, std::string > > cli_parameters
Definition configuration_helper.hh:72
uint depth_console
Definition configuration_helper.hh:74
std::string get_top_folder() const
ConfigurationHelper(const ConfigurationHelper &)
Copy a Configuration Helper.
std::string get_output_folder() const
const JSONValue & get_json() const
Obtain the JSON object containing all the parameters.
JSONValue & get_json()
Obtain the JSON object containing all the parameters.
std::list< std::string > args
Definition configuration_helper.hh:71
JSONValue json
Definition configuration_helper.hh:77
uint depth_file
Definition configuration_helper.hh:75
void print_usage_message()
A wrapper around the boost json value class.
Definition json.hh:19
Definition complex_math.hh:14
unsigned int uint
Definition utils.hh:22