186 #ifndef COMMAND_LINE_PARAMETERS_H 187 #define COMMAND_LINE_PARAMETERS_H bool mStoreVelocityRmsFlag
Store RMS of velocity over the the sensor mask?
bool isPrintVersionOnly() const
Is –version set?
bool getStoreVelocityRmsFlag() const
Is –u_rms set?
static constexpr size_t kDefaultCompressionLevel
Default compression level.
bool mCopySensorMaskFlag
Copy sensor mask to the output file.
bool mStorePressureMinAllFlag
Store minimum of pressure over the whole domain?
The class to parse and store command line parameters.
bool mStorePressureMinFlag
Store minimum of pressure over the sensor mask?
bool getStoreVelocityMaxFlag() const
Is –u_max set?
size_t mProgressPrintInterval
Progress interval value.
bool getStorePressureMinAllFlag() const
Is –p_min_all set?
bool getStoreVelocityNonStaggeredRawFlag() const
Is –u_non_staggered_raw set?
Class storing all parameters of the simulation.
bool isBenchmarkEnabled() const
Is –benchmark set?
size_t getNumberOfThreads() const
Get number of threads.
const std::string & getOutputFileName() const
Get output file name.
std::string mCheckpointFileName
Checkpoint file name.
void printUsage()
Print usage of the code.
size_t mCheckpointInterval
Checkpoint interval in seconds.
std::string mInputFileName
Input file name.
bool mStoreVelocityMinAllFlag
Store minimum of velocity over the whole domain?
bool mStorePressureRawFlag
Store raw time-series of pressure over the sensor mask?
bool mStorePressureRmsFlag
Store RMS of pressure over the the sensor mask?
bool mStorePressureFinalAllFlag
Store pressure in the final time step over the whole domain?
bool getStorePressureFinalAllFlag() const
Is –p_final set?
bool getStoreVelocityRawFlag() const
Is –u_raw set?
bool mPrintVersionFlag
Print version of the code and exit.
bool getStoreVelocityMinAllFlag() const
Is –u_min set?
bool mStoreVelocityMaxFlag
Store maximum of velocity over the sensor mask?
CommandLineParameters()
Default constructor - only friend class can create an instance.
bool getStoreVelocityFinalAllFlag() const
Is –u_final set?
size_t getSamplingStartTimeIndex() const
Get start time index when sensor data collection begins.
bool getStoreVelocityMaxAllFlag() const
Is –u_max_all set?
bool isCheckpointEnabled() const
Is checkpoint enabled?
std::string mOutputFileName
Output file name.
bool mStoreVelocityNonStaggeredRawFlag
Store un staggered raw time-series of velocity over the sensor mask?
const std::string & getInputFileName() const
Get input file name.
bool getStorePressureMinFlag() const
Is –p_min set?
const std::string & getCheckpointFileName() const
Get Checkpoint file name.
CommandLineParameters & operator=(const CommandLineParameters &)=delete
operator= not allowed.
bool mStoreVelocityMinFlag
Store minimum of velocity over the sensor mask?
size_t getCompressionLevel() const
Get compression level.
void printComandlineParamers()
Print setup commandline parameters.
bool mStorePressureMaxFlag
Store maximum of pressure over the sensor mask?
size_t mCompressionLevel
Compression level value for output and checkpoint files.
bool mStoreVelocityMaxAllFlag
Store maximum of velocity over the whole domain?
bool mStorePressureMaxAllFlag
Store maximum of pressure over the whole domain?
size_t mNumberOfThreads
Number of CPU threads value.
size_t getBenchmarkTimeStepsCount() const
Get benchmark time step count.
bool mStoreVelocityFinalAllFlag
Store velocity in the final time step over the whole domain?
bool getStorePressureMaxFlag() const
Is –p_max set?
size_t getCheckpointInterval() const
Get checkpoint interval.
bool getStorePressureMaxAllFlag() const
Is –p_max_all set?
size_t mBenchmarkTimeStepCount
Number of time steps used to benchmark the code.
size_t mSamplingStartTimeStep
StartTimeStep value.
void parseCommandLine(int argc, char **argv)
Parse commandline parameters.
bool mStoreVelocityRawFlag
Store raw time-series of velocity over the sensor mask?
bool getStoreVelocityMinFlag() const
Is –u_min set?
bool getCopySensorMaskFlag() const
Is –copy_mask set set?
bool mBenchmarkFlag
BenchmarkFlag value.
size_t getProgressPrintInterval() const
Get progress print interval.
static constexpr size_t kDefaultProgressPrintInterval
Default progress print interval.
bool getStorePressureRmsFlag() const
Is –p_rms set?
virtual ~CommandLineParameters()
Destructor.
bool getStorePressureRawFlag() const
Is –p_raw set?