24 static unsigned int m_NSpatial;
25 static unsigned int m_NTemporal;
26 static unsigned int m_latticeSize;
29 static std::vector<unsigned int> m_N;
30 static unsigned int m_subLatticeSize;
31 static int m_processorsPerDimension[4];
32 static bool m_subLatticeSizePreset;
35 static std::string m_actionType;
42 static const double r0;
45 static bool m_verbose;
48 static bool m_storeThermalizationObservables;
51 static bool m_storeConfigurations;
54 static bool m_hotStart;
57 static bool m_RSTHotStart;
60 static std::string m_pwd;
61 static std::string m_batchName;
62 static std::string m_inputFolder;
63 static std::string m_outputFolder;
66 static unsigned int m_NCf;
67 static unsigned int m_NCor;
68 static unsigned int m_NTherm;
69 static unsigned int m_NUpdates;
70 static unsigned int m_NFlows;
71 static unsigned int m_configSamplePoints;
72 static unsigned int m_flowSamplePoints;
75 static bool m_unitTesting;
76 static bool m_unitTestingVerbose;
77 static bool m_testLatticeGaugeInvariance;
78 static std::string m_latticeFileNameToCheck;
81 static bool m_performanceTesting;
82 static unsigned int m_NExpTests;
83 static unsigned int m_NRandTests;
84 static unsigned int m_NDerivativeTests;
85 static unsigned int m_NTaylorPolDegree;
88 static double m_SU3Eps;
89 static double m_flowEpsilon;
90 static double m_metropolisSeed;
91 static double m_randomMatrixSeed;
94 static std::string m_expFuncName;
95 static std::vector<std::string> m_observablesList;
96 static std::vector<std::string> m_flowObservablesList;
99 static bool m_loadFieldConfigurations;
100 static bool m_loadChromaConfigurations;
101 static std::vector<std::string> m_fieldConfigurationFileNames;
104 static bool m_loadConfigAndRun;
105 static int m_configStartNumber;
108 static int m_samplingFrequency;
113 static double calculateLatticeSpacing(
double beta);
124 static void setBeta(
double beta);
125 static void setNCf(
unsigned int NCf) { m_NCf = NCf; }
126 static void setNCor(
unsigned int NCor) { m_NCor = NCor; }
127 static void setNTherm(
unsigned int NTherm) { m_NTherm = NTherm; }
128 static void setNFlows(
unsigned int NFlows) { m_NFlows = NFlows; }
129 static void setNUpdates(
unsigned int NUpdates) { m_NUpdates = NUpdates; }
132 static void setOutputFolder(std::string outputFolder) { m_outputFolder = outputFolder; }
133 static void setInputFolder(std::string inputFolder) { m_inputFolder = inputFolder; }
138 static void setVerbose(
bool verbose) { m_verbose = verbose; }
142 static void setBatchName(std::string batchName) { m_batchName = batchName; }
150 static void setGaugeFieldToCheck(std::string latticeFileNameToCheck) { m_latticeFileNameToCheck = latticeFileNameToCheck; }
154 static void setNExpTests(
unsigned int NExpTests) { m_NExpTests = NExpTests; }
155 static void setNRandTests(
unsigned int NRandTests) { m_NRandTests = NRandTests; }
157 static void setTaylorPolDegree(
unsigned int NTaylorPolDegree) { m_NTaylorPolDegree = NTaylorPolDegree; }
161 static void setSU3Eps(
double SU3Eps) { m_SU3Eps = SU3Eps; }
166 static void setLatticeSize(
unsigned int latticeSize) { m_latticeSize = latticeSize; }
169 static void setN(std::vector<unsigned int> N) { m_N = N; }
170 static void setSubLatticePreset(
bool subLatticeSizePreset) { m_subLatticeSizePreset = subLatticeSizePreset; }
171 static void setSubLatticeSize(
unsigned int subLatticeSize) { m_subLatticeSize = subLatticeSize; }
172 static void setProcessorsPerDimension(
int *processorsPerDimension) {
for (
unsigned int i = 0; i < 4; i++) m_processorsPerDimension[i] = processorsPerDimension[i]; }
175 static void setActionType(std::string actionType) { m_actionType = actionType; }
178 static void setExpFuncName(std::string expFuncName) { m_expFuncName = expFuncName;}
179 static void setObservableList(std::vector<std::string> observablesList) { m_observablesList = observablesList; }
180 static void setFlowObservablesList(std::vector<std::string> flowObservablesList) { m_flowObservablesList = flowObservablesList; }
185 static void setFieldConfigurationFileNames(std::vector<std::string> fieldConfigurationFileNames) { m_fieldConfigurationFileNames = fieldConfigurationFileNames; }
195 static void setDebug(
bool debug) { m_debug = debug; }
204 static unsigned int getNCf() {
return m_NCf; }
205 static unsigned int getNCor() {
return m_NCor; }
249 static std::vector<unsigned int>
getN() {
return m_N; }
252 static void getProcessorsPerDimension(
int *processorsPerDimension) {
for (
unsigned int i = 0; i < 4; i++) m_processorsPerDimension[i] = processorsPerDimension[i]; }
278 #endif // PARAMETERS_H static int getConfigStartNumber()
Definition: parameters.h:269
static unsigned int getNUpdates()
Definition: parameters.h:207
static void setNFlows(unsigned int NFlows)
Definition: parameters.h:128
static void setLoadFieldConfigurations(bool loadFieldConfigurations)
Definition: parameters.h:183
static void setGaugeFieldToCheck(std::string latticeFileNameToCheck)
Definition: parameters.h:150
static double getSU3Eps()
Definition: parameters.h:240
static double getLatticeSpacing()
Definition: parameters.h:245
static unsigned int getNDerivativeTests()
Definition: parameters.h:235
static bool getDebug()
Definition: parameters.h:275
static void setLoadConfigAndRun(bool loadConfigAndRun)
Definition: parameters.h:188
static void setObservableList(std::vector< std::string > observablesList)
Definition: parameters.h:179
static unsigned int getTaylorPolDegree()
Definition: parameters.h:236
static bool getLoadConfigAndRun()
Definition: parameters.h:268
static void setOutputFolder(std::string outputFolder)
Definition: parameters.h:132
static void getProcessorsPerDimension(int *processorsPerDimension)
Definition: parameters.h:252
static unsigned int getNRandTests()
Definition: parameters.h:234
static void setPerformanceTesting(bool performanceTesting)
Definition: parameters.h:153
static void setNDerivaitveTests(unsigned int NDerivativeTests)
Definition: parameters.h:156
static void setLatticeSize(unsigned int latticeSize)
Definition: parameters.h:166
static void setLoadChromaConfigurations(bool loadChromaConfigurations)
Definition: parameters.h:184
Parameters()
Definition: parameters.cpp:95
static unsigned int getNExpTests()
Definition: parameters.h:233
static double getFlowEpsilon()
Definition: parameters.h:239
static void setFieldConfigurationFileNames(std::vector< std::string > fieldConfigurationFileNames)
Definition: parameters.h:185
static void setStoreConfigurations(bool storeConfigurations)
Definition: parameters.h:134
static void setN(std::vector< unsigned int > N)
Definition: parameters.h:169
Parameter holding class.
Definition: parameters.h:19
static void setUnitTesting(bool unitTesting)
Definition: parameters.h:147
static void setExpFuncName(std::string expFuncName)
Definition: parameters.h:178
static bool getPerformanceTesting()
Definition: parameters.h:232
static void setFlowEpsilon(double flowEpsilon)
Definition: parameters.h:160
static void setDebug(bool debug)
Definition: parameters.h:195
static unsigned int getNSpatial()
Definition: parameters.h:201
static std::string getGaugeFieldToCheck()
Definition: parameters.h:229
static void setNUpdates(unsigned int NUpdates)
Definition: parameters.h:129
static void setNTemporal(unsigned int NTemporal)
Definition: parameters.cpp:131
static void setNSpatial(unsigned int NSpatial)
Definition: parameters.cpp:125
Class for printing run information.
Definition: sysprint.h:21
static std::string getOutputFolder()
Definition: parameters.h:211
~Parameters()
Definition: parameters.cpp:100
static void setCheckFieldGaugeInvariance(bool testLatticeGaugeInvariance)
Definition: parameters.h:149
static double getRandomMatrixSeed()
Definition: parameters.h:242
static void setMetropolisSeed(double metropolisSeed)
Parameters::setMetropolisSeed set a seed for the Metropolis algorithm.
Definition: parameters.cpp:143
static unsigned int getNTherm()
Definition: parameters.h:206
static bool getLoadChromaConfigurations()
Definition: parameters.h:264
static void setNRandTests(unsigned int NRandTests)
Definition: parameters.h:155
static void setBatchName(std::string batchName)
Definition: parameters.h:142
static void setFilePath(std::string pwd)
Definition: parameters.h:141
static void setSubLatticePreset(bool subLatticeSizePreset)
Definition: parameters.h:170
static unsigned int getNCf()
Definition: parameters.h:204
static std::string getActionType()
Definition: parameters.h:255
static void setRandomMatrixSeed(double randomMatrixSeed)
Parameters::setRandomMatrixSeed set a seed for the random matrix generation(both RST and random metho...
Definition: parameters.cpp:155
static bool getVerbose()
Definition: parameters.h:217
static bool getUnitTestingVerbose()
Definition: parameters.h:227
static bool getStoreThermalizationObservables()
Definition: parameters.h:214
static void setNTherm(unsigned int NTherm)
Definition: parameters.h:127
static void setConfigStartNumber(int configStartNumber)
Definition: parameters.h:189
static bool getCheckFieldGaugeInvariance()
Definition: parameters.h:228
static int getSamplingFrequency()
Definition: parameters.h:272
static unsigned int getLatticeSize()
Definition: parameters.h:246
static void setUnitTestingVerbose(bool unitTestingVerbose)
Definition: parameters.h:148
static unsigned int getNCor()
Definition: parameters.h:205
static void setNExpTests(unsigned int NExpTests)
Definition: parameters.h:154
static unsigned int getNFlows()
Definition: parameters.h:208
static void setSU3Eps(double SU3Eps)
Definition: parameters.h:161
static void setStoreThermalizationObservables(bool storeThermalizationObservables)
Definition: parameters.h:135
static void setSamplingFrequency(int samplingFrequency)
Definition: parameters.h:192
static void setNCf(unsigned int NCf)
Definition: parameters.h:125
static std::vector< std::string > getObservablesList()
Definition: parameters.h:259
static std::vector< unsigned int > getN()
Definition: parameters.h:249
static void setBeta(double beta)
Definition: parameters.cpp:105
static unsigned int getSubLatticeSize()
Definition: parameters.h:251
static void setVerbose(bool verbose)
Definition: parameters.h:138
static void setInputFolder(std::string inputFolder)
Definition: parameters.h:133
static unsigned int getNTemporal()
Definition: parameters.h:202
static void setHotStart(bool hotStart)
Definition: parameters.h:143
static double getMetropolisSeed()
Definition: parameters.h:241
static bool getRSTHotStart()
Definition: parameters.h:223
static std::string getFilePath()
Definition: parameters.h:220
static void setProcessorsPerDimension(int *processorsPerDimension)
Definition: parameters.h:172
static bool getLoadFieldConfigurations()
Definition: parameters.h:263
static std::vector< std::string > getFieldConfigurationFileNames()
Definition: parameters.h:265
static void setSubLatticeSize(unsigned int subLatticeSize)
Definition: parameters.h:171
static void setRSTHotStart(bool RSTHotStart)
Definition: parameters.h:144
static bool getStoreConfigurations()
Definition: parameters.h:213
static bool getHotStart()
Definition: parameters.h:222
static bool getUnitTesting()
Definition: parameters.h:226
static std::string getExpFuncName()
Definition: parameters.h:258
static void setNCor(unsigned int NCor)
Definition: parameters.h:126
static bool getSubLatticePreset()
Definition: parameters.h:250
static std::string getInputFolder()
Definition: parameters.h:212
static void setTaylorPolDegree(unsigned int NTaylorPolDegree)
Definition: parameters.h:157
static std::vector< std::string > getFlowObservablesList()
Definition: parameters.h:260
static void setFlowObservablesList(std::vector< std::string > flowObservablesList)
Definition: parameters.h:180
static std::string getBatchName()
Definition: parameters.h:221
static double getBeta()
Definition: parameters.h:203
static void setActionType(std::string actionType)
Definition: parameters.h:175