202 #ifndef TCOMMAND_LINE_PARAMETERS_H
203 #define TCOMMAND_LINE_PARAMETERS_H
bool store_u_final
Store_u_final value.
bool store_p_max
Store_p_max value.
size_t GetNumberOfThreads() const
Get number of threads.
bool IsStore_u_rms() const
Is –u_rms set?
const std::string & GetCheckpointFileName() const
Get Checkpoint file name.
bool IsStore_p_max() const
Is –p_max set?
bool copySensorMask
Copy sensor mask to the output file.
bool store_p_final
Store_p_final value.
bool IsStore_p_min_all() const
Is –p_min_all set?
size_t numberOfThreads
Number of CPU threads value.
bool store_p_raw
Store_p_raw value.
bool IsStore_p_rms() const
Is –p_rms set?
bool store_p_min_all
Store_p_min_all value.
size_t checkpointInterval
Checkpoint interval in seconds.
const std::string & GetOutputFileName() const
Get output file name.
bool store_u_non_staggered_raw
Store_u_non_staggered_raw value.
TCommandLineParameters & operator=(const TCommandLineParameters &src)
operator = not allowed for public.
bool IsStore_p_final() const
Is –p_final set?
const std::string & GetInputFileName() const
Get input file name.
size_t GetCheckpointInterval() const
Get checkpoint interval.
void PrintComandlineParamers()
Print setup.
bool benchmarkFlag
BenchmarkFlag value.
int cudaDeviceIdx
Id of selected GPU devices.
bool store_p_min
Store_p_min value.
bool IsStore_u_non_staggered_raw() const
Is –u_non_staggered_raw set?
bool IsStore_p_min() const
Is –p_min set?
bool store_u_min_all
Store_u_min_all value.
bool IsStore_u_max() const
Is –u_max set?
bool printVersion
print version of the code and exit.
bool IsCheckpointEnabled() const
Is checkpoint enabled?
static const size_t DEFAULT_PROGRESS_PRINT_INTERVAL
Default progress print interval.
size_t progressPrintInterval
ProgressInterval value.
int GetCUDADeviceIdx() const
Get GPU device ID specified by the user (not necessary the one the code runs on). ...
size_t GetProgressPrintInterval() const
Get progress print interval.
bool IsBenchmarkFlag() const
Is –benchmark flag set?
std::string inputFileName
Input file name.
bool store_p_max_all
Store_p_max_all value.
Class storing all parameters of the simulation.
bool store_u_max
Store_u_max value.
size_t GetBenchmarkTimeStepsCount() const
Get benchmark time step count.
std::string outputFileName
Output file name.
bool store_u_raw
Store_u_raw value.
bool IsStore_u_final() const
Is –u_final set?
size_t benchmarkTimeStepCount
BenchmarkTimeStepsCount value.
TCommandLineParameters()
Default constructor - only friend class can create an instance.
bool IsStore_u_min_all() const
Is –u_min set?
bool store_u_max_all
Store_u_max_all value.
size_t GetCompressionLevel() const
Get compression level.
The class to parse and store command line parameters.
bool IsStore_u_min() const
Is –u_min set?
void PrintUsage()
Print usage..
bool store_p_rms
Store_p_rms value.
bool IsCopySensorMask() const
Is –copy_mask set set?
std::string checkpointFileName
Checkpoint file name.
bool IsStore_u_raw() const
Is –u_raw set?
bool IsStore_p_max_all() const
Is –p_max_all set?
static const size_t DEFAULT_COMPRESSION_LEVEL
Default compression level.
bool store_u_min
Store_u_min value.
size_t startTimeStep
StartTimeStep value.
virtual ~TCommandLineParameters()
Destructor.
bool IsVersion() const
Is –version flag set?
size_t GetStartTimeIndex() const
Get start time index when sensor data collection begins.
size_t compressionLevel
CompressionLevel value.
bool store_u_rms
Store_u_rms value.
void ParseCommandLine(int argc, char **argv)
Parse command line.
bool IsStore_u_max_all() const
Is –u_max_all set?
bool IsStore_p_raw() const
Is –p_raw set?