XGCa
Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CommandLineInputs Struct Reference

#include <command_line_inputs.hpp>

Classes

struct  Option
 

Public Member Functions

 CommandLineInputs (int argc, char *argv[])
 

Public Attributes

bool run_particle_test
 
bool update_particle_test
 
bool run_moments_test
 
bool update_moments_test
 
bool do_dryrun
 
int dryrun_n_mpi_ranks
 
bool perf_barriers
 
int max_walltime
 
bool debug
 

Private Member Functions

bool check (std::string input, std::string name, std::string explanation)
 
void print_options ()
 
void error (std::string msg)
 

Private Attributes

std::vector< Optionoptions
 
bool first_input
 
bool found
 

Constructor & Destructor Documentation

◆ CommandLineInputs()

CommandLineInputs::CommandLineInputs ( int  argc,
char *  argv[] 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ check()

bool CommandLineInputs::check ( std::string  input,
std::string  name,
std::string  explanation 
)
inlineprivate
Here is the caller graph for this function:

◆ error()

void CommandLineInputs::error ( std::string  msg)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_options()

void CommandLineInputs::print_options ( )
inlineprivate
Here is the caller graph for this function:

Member Data Documentation

◆ debug

bool CommandLineInputs::debug

◆ do_dryrun

bool CommandLineInputs::do_dryrun

◆ dryrun_n_mpi_ranks

int CommandLineInputs::dryrun_n_mpi_ranks

◆ first_input

bool CommandLineInputs::first_input
private

◆ found

bool CommandLineInputs::found
private

◆ max_walltime

int CommandLineInputs::max_walltime

◆ options

std::vector<Option> CommandLineInputs::options
private

◆ perf_barriers

bool CommandLineInputs::perf_barriers

◆ run_moments_test

bool CommandLineInputs::run_moments_test

◆ run_particle_test

bool CommandLineInputs::run_particle_test

◆ update_moments_test

bool CommandLineInputs::update_moments_test

◆ update_particle_test

bool CommandLineInputs::update_particle_test

The documentation for this struct was generated from the following file: