OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Enumerations | Variables
Options Namespace Reference

The global OPAL option flags. More...

Enumerations

enum  DumpFrame { GLOBAL =0, BUNCH_MEAN =1, REFERENCE =2 }
 

Variables

bool echo = false
 Echo flag. More...
 
bool info = true
 Info flag. More...
 
int infoLevel = 1
 
bool warn = true
 Warn flag. More...
 
int warnLevel = 1
 
bool csrDump = false
 
bool ppdebug = false
 ppdebug flag. More...
 
bool cZero = false
 if true create symmetric distribution More...
 
bool asciidump = false
 
double remotePartDel = 0.0
 
double beamHaloBoundary = 0
 
bool writeBendTrajectories = false
 
bool mtrace = false
 Trace flag. More...
 
bool psDumpEachTurn = false
 phase space dump flag for OPAL-cycl More...
 
DumpFrame psDumpFrame = GLOBAL
 flag to decide in which coordinate frame the phase space will be dumped for OPAL-cycl More...
 
bool rhoDump = false
 
bool ebDump = false
 
bool enableHDF5 = true
 If true HDF5 files are written. More...
 
Random rangen
 Random generator. More...
 
int seed = 123456789
 The current random seed. More...
 
int autoPhase = 6
 
int psDumpFreq = 10
 The frequency to dump the phase space, i.e.dump data when steppsDumpFreq==0. More...
 
int statDumpFreq = 10
 The frequency to dump statistical values, e.e. dump data when stepstatDumpFreq==0. More...
 
int sptDumpFreq = 1
 The frequency to dump single particle trajectory of particles with ID = 0 & 1. More...
 
int repartFreq = 10
 The frequency to do particles repartition for better load balance between nodes. More...
 
int minBinEmitted = 10
 The number of bins that have to be emitted before the bin are squashed into a single bin. More...
 
int minStepForRebin = 200
 The number of steps into the simulation before the bins are squashed into a single bin. More...
 
int rebinFreq = 100
 The frequency to reset energy bin ID for all particles. More...
 
int scSolveFreq = 1
 The frequency to solve space charge fields. More...
 
int mtsSubsteps = 1
 
int surfDumpFreq = -1
 The frequency to dump the particle-geometry surface interation data. More...
 
int numBlocks = 0
 RCG: cycle length. More...
 
int recycleBlocks = 0
 RCG: number of recycle blocks. More...
 
int nLHS = 1
 number of old left hand sides used to extrapolate a new start vector More...
 
std::string rngtype = std::string("RANDOM")
 random number generator More...
 
bool cloTuneOnly = false
 Do closed orbit and tune calculation only. More...
 
int boundpDestroyFreq = 10
 
bool idealized = false
 
int version = 10000
 opal version of input file More...
 
bool amr = false
 
int amrYtDumpFreq = 10
 The frequency to dump AMR grid data and particles into file. More...
 
int amrRegridFreq = 10
 
bool memoryDump = false
 
double haloShift = 0.0
 The constant parameter C to shift halo, by < w^4 > / < w^2 > ^2 - C (w=x,y,z) More...
 
unsigned int delPartFreq = 1
 The frequency to delete particles (currently: OPAL-cycl only) More...
 

Detailed Description

The global OPAL option flags.

Enumeration Type Documentation

Enumerator
GLOBAL 
BUNCH_MEAN 
REFERENCE 

Definition at line 5 of file OptionTypes.h.

Variable Documentation

bool Options::amr = false
int Options::amrRegridFreq = 10

Definition at line 105 of file Options.cpp.

Referenced by AmrBoxLib::computeSelfFields_cycl(), Option::execute(), and Option::Option().

int Options::amrYtDumpFreq = 10

The frequency to dump AMR grid data and particles into file.

Definition at line 103 of file Options.cpp.

Referenced by AmrBoxLib::computeSelfFields_cycl(), Option::execute(), and Option::Option().

bool Options::asciidump = false
int Options::autoPhase = 6
double Options::beamHaloBoundary = 0

Definition at line 24 of file Options.cpp.

Referenced by Option::execute(), Option::Option(), and StatWriter::write().

int Options::boundpDestroyFreq = 10
bool Options::cloTuneOnly = false

Do closed orbit and tune calculation only.

Definition at line 87 of file Options.cpp.

Referenced by Distribution::createMatchedGaussDistribution(), Option::execute(), and Option::Option().

bool Options::csrDump = false
bool Options::cZero = false
unsigned int Options::delPartFreq = 1

The frequency to delete particles (currently: OPAL-cycl only)

Definition at line 112 of file Options.cpp.

Referenced by ParallelCyclotronTracker::deleteParticle(), Option::execute(), and Option::Option().

bool Options::ebDump = false
bool Options::echo = false

Echo flag.

Definition at line 7 of file Options.cpp.

Referenced by Option::execute(), main(), and Option::Option().

bool Options::enableHDF5 = true
double Options::haloShift = 0.0

The constant parameter C to shift halo, by < w^4 > / < w^2 > ^2 - C (w=x,y,z)

Definition at line 110 of file Options.cpp.

Referenced by PartBunchBase< T, Dim >::calcMoments(), Option::execute(), and Option::Option().

bool Options::idealized = false

Definition at line 94 of file Options.cpp.

Referenced by OpalBeamline::compute3DLattice(), Option::execute(), and Option::Option().

bool Options::info = true
int Options::infoLevel = 1

Definition at line 9 of file Options.cpp.

Referenced by OpalSimulation::run().

bool Options::memoryDump = false

Definition at line 108 of file Options.cpp.

Referenced by Option::execute(), DataSink::init(), and Option::Option().

int Options::minBinEmitted = 10

The number of bins that have to be emitted before the bin are squashed into a single bin.

Definition at line 63 of file Options.cpp.

Referenced by Option::Option(), and ParallelTTracker::setOptionalVariables().

int Options::minStepForRebin = 200

The number of steps into the simulation before the bins are squashed into a single bin.

Definition at line 66 of file Options.cpp.

Referenced by Option::Option(), and ParallelTTracker::setOptionalVariables().

bool Options::mtrace = false

Trace flag.

Definition at line 29 of file Options.cpp.

Referenced by Option::execute(), OpalParser::execute(), and Option::Option().

int Options::mtsSubsteps = 1
int Options::nLHS = 1

number of old left hand sides used to extrapolate a new start vector

Definition at line 83 of file Options.cpp.

Referenced by Option::execute(), and Option::Option().

int Options::numBlocks = 0

RCG: cycle length.

Definition at line 81 of file Options.cpp.

Referenced by Option::execute(), and Option::Option().

bool Options::ppdebug = false
bool Options::psDumpEachTurn = false

phase space dump flag for OPAL-cycl

Definition at line 30 of file Options.cpp.

Referenced by Option::execute(), Option::Option(), and ParallelCyclotronTracker::update_m().

DumpFrame Options::psDumpFrame = GLOBAL
int Options::psDumpFreq = 10
Random Options::rangen

Random generator.

Definition at line 38 of file Options.cpp.

Referenced by Option::execute(), Expressions::gauss(), Expressions::ranf(), and Expressions::Tgauss().

int Options::rebinFreq = 100

The frequency to reset energy bin ID for all particles.

Definition at line 69 of file Options.cpp.

Referenced by ParallelCyclotronTracker::bunchMode_m(), Option::execute(), ParallelCyclotronTracker::initializeTracking_m(), ParallelCyclotronTracker::MtsTracker(), and Option::Option().

int Options::recycleBlocks = 0

RCG: number of recycle blocks.

Definition at line 82 of file Options.cpp.

Referenced by Option::execute(), and Option::Option().

double Options::remotePartDel = 0.0
int Options::repartFreq = 10

The frequency to do particles repartition for better load balance between nodes.

Definition at line 60 of file Options.cpp.

Referenced by Option::execute(), ParallelCyclotronTracker::initializeTracking_m(), ParallelCyclotronTracker::MtsTracker(), Option::Option(), ParallelCyclotronTracker::repartition(), and ParallelTTracker::setOptionalVariables().

bool Options::rhoDump = false
std::string Options::rngtype = std::string("RANDOM")
int Options::scSolveFreq = 1

The frequency to solve space charge fields.

Definition at line 72 of file Options.cpp.

Referenced by Option::execute(), ParallelCyclotronTracker::initializeTracking_m(), and Option::Option().

int Options::seed = 123456789
int Options::sptDumpFreq = 1
int Options::statDumpFreq = 10
int Options::surfDumpFreq = -1

The frequency to dump the particle-geometry surface interation data.

Definition at line 78 of file Options.cpp.

Referenced by Option::execute(), and Option::Option().

int Options::version = 10000

opal version of input file

Definition at line 97 of file Options.cpp.

Referenced by Option::execute(), TrackRun::execute(), and Option::Option().

bool Options::warn = true
int Options::warnLevel = 1

Definition at line 11 of file Options.cpp.

Referenced by OpalSimulation::run().

bool Options::writeBendTrajectories = false