GLAC  1.0
Public Member Functions | Static Public Member Functions | Friends
Parameters Class Reference

Parameter holding class. More...

#include <parameters.h>

Public Member Functions

 Parameters ()
 
 ~Parameters ()
 

Static Public Member Functions

static void setNSpatial (unsigned int NSpatial)
 
static void setNTemporal (unsigned int NTemporal)
 
static void setBeta (double beta)
 
static void setNCf (unsigned int NCf)
 
static void setNCor (unsigned int NCor)
 
static void setNTherm (unsigned int NTherm)
 
static void setNFlows (unsigned int NFlows)
 
static void setNUpdates (unsigned int NUpdates)
 
static void setOutputFolder (std::string outputFolder)
 
static void setInputFolder (std::string inputFolder)
 
static void setStoreConfigurations (bool storeConfigurations)
 
static void setStoreThermalizationObservables (bool storeThermalizationObservables)
 
static void setVerbose (bool verbose)
 
static void setFilePath (std::string pwd)
 
static void setBatchName (std::string batchName)
 
static void setHotStart (bool hotStart)
 
static void setRSTHotStart (bool RSTHotStart)
 
static void setUnitTesting (bool unitTesting)
 
static void setUnitTestingVerbose (bool unitTestingVerbose)
 
static void setCheckFieldGaugeInvariance (bool testLatticeGaugeInvariance)
 
static void setGaugeFieldToCheck (std::string latticeFileNameToCheck)
 
static void setPerformanceTesting (bool performanceTesting)
 
static void setNExpTests (unsigned int NExpTests)
 
static void setNRandTests (unsigned int NRandTests)
 
static void setNDerivaitveTests (unsigned int NDerivativeTests)
 
static void setTaylorPolDegree (unsigned int NTaylorPolDegree)
 
static void setFlowEpsilon (double flowEpsilon)
 
static void setSU3Eps (double SU3Eps)
 
static void setMetropolisSeed (double metropolisSeed)
 Parameters::setMetropolisSeed set a seed for the Metropolis algorithm. More...
 
static void setRandomMatrixSeed (double randomMatrixSeed)
 Parameters::setRandomMatrixSeed set a seed for the random matrix generation(both RST and random methods). More...
 
static void setLatticeSize (unsigned int latticeSize)
 
static void setN (std::vector< unsigned int > N)
 
static void setSubLatticePreset (bool subLatticeSizePreset)
 
static void setSubLatticeSize (unsigned int subLatticeSize)
 
static void setProcessorsPerDimension (int *processorsPerDimension)
 
static void setActionType (std::string actionType)
 
static void setExpFuncName (std::string expFuncName)
 
static void setObservableList (std::vector< std::string > observablesList)
 
static void setFlowObservablesList (std::vector< std::string > flowObservablesList)
 
static void setLoadFieldConfigurations (bool loadFieldConfigurations)
 
static void setLoadChromaConfigurations (bool loadChromaConfigurations)
 
static void setFieldConfigurationFileNames (std::vector< std::string > fieldConfigurationFileNames)
 
static void setLoadConfigAndRun (bool loadConfigAndRun)
 
static void setConfigStartNumber (int configStartNumber)
 
static void setSamplingFrequency (int samplingFrequency)
 
static void setDebug (bool debug)
 
static unsigned int getNSpatial ()
 
static unsigned int getNTemporal ()
 
static double getBeta ()
 
static unsigned int getNCf ()
 
static unsigned int getNCor ()
 
static unsigned int getNTherm ()
 
static unsigned int getNUpdates ()
 
static unsigned int getNFlows ()
 
static std::string getOutputFolder ()
 
static std::string getInputFolder ()
 
static bool getStoreConfigurations ()
 
static bool getStoreThermalizationObservables ()
 
static bool getVerbose ()
 
static std::string getFilePath ()
 
static std::string getBatchName ()
 
static bool getHotStart ()
 
static bool getRSTHotStart ()
 
static bool getUnitTesting ()
 
static bool getUnitTestingVerbose ()
 
static bool getCheckFieldGaugeInvariance ()
 
static std::string getGaugeFieldToCheck ()
 
static bool getPerformanceTesting ()
 
static unsigned int getNExpTests ()
 
static unsigned int getNRandTests ()
 
static unsigned int getNDerivativeTests ()
 
static unsigned int getTaylorPolDegree ()
 
static double getFlowEpsilon ()
 
static double getSU3Eps ()
 
static double getMetropolisSeed ()
 
static double getRandomMatrixSeed ()
 
static double getLatticeSpacing ()
 
static unsigned int getLatticeSize ()
 
static std::vector< unsigned int > getN ()
 
static bool getSubLatticePreset ()
 
static unsigned int getSubLatticeSize ()
 
static void getProcessorsPerDimension (int *processorsPerDimension)
 
static std::string getActionType ()
 
static std::string getExpFuncName ()
 
static std::vector< std::string > getObservablesList ()
 
static std::vector< std::string > getFlowObservablesList ()
 
static bool getLoadFieldConfigurations ()
 
static bool getLoadChromaConfigurations ()
 
static std::vector< std::string > getFieldConfigurationFileNames ()
 
static bool getLoadConfigAndRun ()
 
static int getConfigStartNumber ()
 
static int getSamplingFrequency ()
 
static bool getDebug ()
 

Friends

class SysPrint
 

Detailed Description

Parameter holding class.

Holds all of the parameters passed on from the json file. Stores parameters as static, thus being accessible from everywhere.

Author
Mathias M. Vege
Version
1.0
Date
2017-2019

Constructor & Destructor Documentation

◆ Parameters()

Parameters::Parameters ( )

◆ ~Parameters()

Parameters::~Parameters ( )

Member Function Documentation

◆ getActionType()

static std::string Parameters::getActionType ( )
inlinestatic
Here is the caller graph for this function:

◆ getBatchName()

static std::string Parameters::getBatchName ( )
inlinestatic
Here is the caller graph for this function:

◆ getBeta()

static double Parameters::getBeta ( )
inlinestatic
Here is the caller graph for this function:

◆ getCheckFieldGaugeInvariance()

static bool Parameters::getCheckFieldGaugeInvariance ( )
inlinestatic

◆ getConfigStartNumber()

static int Parameters::getConfigStartNumber ( )
inlinestatic
Here is the caller graph for this function:

◆ getDebug()

static bool Parameters::getDebug ( )
inlinestatic
Here is the caller graph for this function:

◆ getExpFuncName()

static std::string Parameters::getExpFuncName ( )
inlinestatic

◆ getFieldConfigurationFileNames()

static std::vector<std::string> Parameters::getFieldConfigurationFileNames ( )
inlinestatic

◆ getFilePath()

static std::string Parameters::getFilePath ( )
inlinestatic
Here is the caller graph for this function:

◆ getFlowEpsilon()

static double Parameters::getFlowEpsilon ( )
inlinestatic
Here is the caller graph for this function:

◆ getFlowObservablesList()

static std::vector<std::string> Parameters::getFlowObservablesList ( )
inlinestatic
Here is the caller graph for this function:

◆ getGaugeFieldToCheck()

static std::string Parameters::getGaugeFieldToCheck ( )
inlinestatic

◆ getHotStart()

static bool Parameters::getHotStart ( )
inlinestatic
Here is the caller graph for this function:

◆ getInputFolder()

static std::string Parameters::getInputFolder ( )
inlinestatic
Here is the caller graph for this function:

◆ getLatticeSize()

static unsigned int Parameters::getLatticeSize ( )
inlinestatic
Here is the caller graph for this function:

◆ getLatticeSpacing()

static double Parameters::getLatticeSpacing ( )
inlinestatic
Here is the caller graph for this function:

◆ getLoadChromaConfigurations()

static bool Parameters::getLoadChromaConfigurations ( )
inlinestatic

◆ getLoadConfigAndRun()

static bool Parameters::getLoadConfigAndRun ( )
inlinestatic
Here is the caller graph for this function:

◆ getLoadFieldConfigurations()

static bool Parameters::getLoadFieldConfigurations ( )
inlinestatic
Here is the caller graph for this function:

◆ getMetropolisSeed()

static double Parameters::getMetropolisSeed ( )
inlinestatic
Here is the caller graph for this function:

◆ getN()

static std::vector<unsigned int> Parameters::getN ( )
inlinestatic
Here is the caller graph for this function:

◆ getNCf()

static unsigned int Parameters::getNCf ( )
inlinestatic
Here is the caller graph for this function:

◆ getNCor()

static unsigned int Parameters::getNCor ( )
inlinestatic
Here is the caller graph for this function:

◆ getNDerivativeTests()

static unsigned int Parameters::getNDerivativeTests ( )
inlinestatic
Here is the caller graph for this function:

◆ getNExpTests()

static unsigned int Parameters::getNExpTests ( )
inlinestatic
Here is the caller graph for this function:

◆ getNFlows()

static unsigned int Parameters::getNFlows ( )
inlinestatic
Here is the caller graph for this function:

◆ getNRandTests()

static unsigned int Parameters::getNRandTests ( )
inlinestatic
Here is the caller graph for this function:

◆ getNSpatial()

static unsigned int Parameters::getNSpatial ( )
inlinestatic
Here is the caller graph for this function:

◆ getNTemporal()

static unsigned int Parameters::getNTemporal ( )
inlinestatic
Here is the caller graph for this function:

◆ getNTherm()

static unsigned int Parameters::getNTherm ( )
inlinestatic
Here is the caller graph for this function:

◆ getNUpdates()

static unsigned int Parameters::getNUpdates ( )
inlinestatic
Here is the caller graph for this function:

◆ getObservablesList()

static std::vector<std::string> Parameters::getObservablesList ( )
inlinestatic

◆ getOutputFolder()

static std::string Parameters::getOutputFolder ( )
inlinestatic
Here is the caller graph for this function:

◆ getPerformanceTesting()

static bool Parameters::getPerformanceTesting ( )
inlinestatic
Here is the caller graph for this function:

◆ getProcessorsPerDimension()

static void Parameters::getProcessorsPerDimension ( int *  processorsPerDimension)
inlinestatic

◆ getRandomMatrixSeed()

static double Parameters::getRandomMatrixSeed ( )
inlinestatic
Here is the caller graph for this function:

◆ getRSTHotStart()

static bool Parameters::getRSTHotStart ( )
inlinestatic
Here is the caller graph for this function:

◆ getSamplingFrequency()

static int Parameters::getSamplingFrequency ( )
inlinestatic
Here is the caller graph for this function:

◆ getStoreConfigurations()

static bool Parameters::getStoreConfigurations ( )
inlinestatic
Here is the caller graph for this function:

◆ getStoreThermalizationObservables()

static bool Parameters::getStoreThermalizationObservables ( )
inlinestatic
Here is the caller graph for this function:

◆ getSU3Eps()

static double Parameters::getSU3Eps ( )
inlinestatic
Here is the caller graph for this function:

◆ getSubLatticePreset()

static bool Parameters::getSubLatticePreset ( )
inlinestatic
Here is the caller graph for this function:

◆ getSubLatticeSize()

static unsigned int Parameters::getSubLatticeSize ( )
inlinestatic
Here is the caller graph for this function:

◆ getTaylorPolDegree()

static unsigned int Parameters::getTaylorPolDegree ( )
inlinestatic
Here is the caller graph for this function:

◆ getUnitTesting()

static bool Parameters::getUnitTesting ( )
inlinestatic
Here is the caller graph for this function:

◆ getUnitTestingVerbose()

static bool Parameters::getUnitTestingVerbose ( )
inlinestatic
Here is the caller graph for this function:

◆ getVerbose()

static bool Parameters::getVerbose ( )
inlinestatic
Here is the caller graph for this function:

◆ setActionType()

static void Parameters::setActionType ( std::string  actionType)
inlinestatic
Here is the caller graph for this function:

◆ setBatchName()

static void Parameters::setBatchName ( std::string  batchName)
inlinestatic
Here is the caller graph for this function:

◆ setBeta()

void Parameters::setBeta ( double  beta)
static
Here is the caller graph for this function:

◆ setCheckFieldGaugeInvariance()

static void Parameters::setCheckFieldGaugeInvariance ( bool  testLatticeGaugeInvariance)
inlinestatic
Here is the caller graph for this function:

◆ setConfigStartNumber()

static void Parameters::setConfigStartNumber ( int  configStartNumber)
inlinestatic
Here is the caller graph for this function:

◆ setDebug()

static void Parameters::setDebug ( bool  debug)
inlinestatic
Here is the caller graph for this function:

◆ setExpFuncName()

static void Parameters::setExpFuncName ( std::string  expFuncName)
inlinestatic
Here is the caller graph for this function:

◆ setFieldConfigurationFileNames()

static void Parameters::setFieldConfigurationFileNames ( std::vector< std::string >  fieldConfigurationFileNames)
inlinestatic

◆ setFilePath()

static void Parameters::setFilePath ( std::string  pwd)
inlinestatic
Here is the caller graph for this function:

◆ setFlowEpsilon()

static void Parameters::setFlowEpsilon ( double  flowEpsilon)
inlinestatic
Here is the caller graph for this function:

◆ setFlowObservablesList()

static void Parameters::setFlowObservablesList ( std::vector< std::string >  flowObservablesList)
inlinestatic

◆ setGaugeFieldToCheck()

static void Parameters::setGaugeFieldToCheck ( std::string  latticeFileNameToCheck)
inlinestatic
Here is the caller graph for this function:

◆ setHotStart()

static void Parameters::setHotStart ( bool  hotStart)
inlinestatic
Here is the caller graph for this function:

◆ setInputFolder()

static void Parameters::setInputFolder ( std::string  inputFolder)
inlinestatic
Here is the caller graph for this function:

◆ setLatticeSize()

static void Parameters::setLatticeSize ( unsigned int  latticeSize)
inlinestatic

◆ setLoadChromaConfigurations()

static void Parameters::setLoadChromaConfigurations ( bool  loadChromaConfigurations)
inlinestatic
Here is the caller graph for this function:

◆ setLoadConfigAndRun()

static void Parameters::setLoadConfigAndRun ( bool  loadConfigAndRun)
inlinestatic
Here is the caller graph for this function:

◆ setLoadFieldConfigurations()

static void Parameters::setLoadFieldConfigurations ( bool  loadFieldConfigurations)
inlinestatic
Here is the caller graph for this function:

◆ setMetropolisSeed()

void Parameters::setMetropolisSeed ( double  metropolisSeed)
static

Parameters::setMetropolisSeed set a seed for the Metropolis algorithm.

Parameters
metropolisSeedWill ensure a different seed is used for each processor.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setN()

static void Parameters::setN ( std::vector< unsigned int >  N)
inlinestatic
Here is the caller graph for this function:

◆ setNCf()

static void Parameters::setNCf ( unsigned int  NCf)
inlinestatic
Here is the caller graph for this function:

◆ setNCor()

static void Parameters::setNCor ( unsigned int  NCor)
inlinestatic
Here is the caller graph for this function:

◆ setNDerivaitveTests()

static void Parameters::setNDerivaitveTests ( unsigned int  NDerivativeTests)
inlinestatic
Here is the caller graph for this function:

◆ setNExpTests()

static void Parameters::setNExpTests ( unsigned int  NExpTests)
inlinestatic
Here is the caller graph for this function:

◆ setNFlows()

static void Parameters::setNFlows ( unsigned int  NFlows)
inlinestatic
Here is the caller graph for this function:

◆ setNRandTests()

static void Parameters::setNRandTests ( unsigned int  NRandTests)
inlinestatic
Here is the caller graph for this function:

◆ setNSpatial()

void Parameters::setNSpatial ( unsigned int  NSpatial)
static
Here is the caller graph for this function:

◆ setNTemporal()

void Parameters::setNTemporal ( unsigned int  NTemporal)
static
Here is the caller graph for this function:

◆ setNTherm()

static void Parameters::setNTherm ( unsigned int  NTherm)
inlinestatic
Here is the caller graph for this function:

◆ setNUpdates()

static void Parameters::setNUpdates ( unsigned int  NUpdates)
inlinestatic
Here is the caller graph for this function:

◆ setObservableList()

static void Parameters::setObservableList ( std::vector< std::string >  observablesList)
inlinestatic

◆ setOutputFolder()

static void Parameters::setOutputFolder ( std::string  outputFolder)
inlinestatic
Here is the caller graph for this function:

◆ setPerformanceTesting()

static void Parameters::setPerformanceTesting ( bool  performanceTesting)
inlinestatic
Here is the caller graph for this function:

◆ setProcessorsPerDimension()

static void Parameters::setProcessorsPerDimension ( int *  processorsPerDimension)
inlinestatic
Here is the caller graph for this function:

◆ setRandomMatrixSeed()

void Parameters::setRandomMatrixSeed ( double  randomMatrixSeed)
static

Parameters::setRandomMatrixSeed set a seed for the random matrix generation(both RST and random methods).

Parameters
randomMatrixSeedWill ensure a different seed is used for each processor.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRSTHotStart()

static void Parameters::setRSTHotStart ( bool  RSTHotStart)
inlinestatic
Here is the caller graph for this function:

◆ setSamplingFrequency()

static void Parameters::setSamplingFrequency ( int  samplingFrequency)
inlinestatic
Here is the caller graph for this function:

◆ setStoreConfigurations()

static void Parameters::setStoreConfigurations ( bool  storeConfigurations)
inlinestatic
Here is the caller graph for this function:

◆ setStoreThermalizationObservables()

static void Parameters::setStoreThermalizationObservables ( bool  storeThermalizationObservables)
inlinestatic
Here is the caller graph for this function:

◆ setSU3Eps()

static void Parameters::setSU3Eps ( double  SU3Eps)
inlinestatic
Here is the caller graph for this function:

◆ setSubLatticePreset()

static void Parameters::setSubLatticePreset ( bool  subLatticeSizePreset)
inlinestatic
Here is the caller graph for this function:

◆ setSubLatticeSize()

static void Parameters::setSubLatticeSize ( unsigned int  subLatticeSize)
inlinestatic
Here is the caller graph for this function:

◆ setTaylorPolDegree()

static void Parameters::setTaylorPolDegree ( unsigned int  NTaylorPolDegree)
inlinestatic
Here is the caller graph for this function:

◆ setUnitTesting()

static void Parameters::setUnitTesting ( bool  unitTesting)
inlinestatic
Here is the caller graph for this function:

◆ setUnitTestingVerbose()

static void Parameters::setUnitTestingVerbose ( bool  unitTestingVerbose)
inlinestatic
Here is the caller graph for this function:

◆ setVerbose()

static void Parameters::setVerbose ( bool  verbose)
inlinestatic
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ SysPrint

friend class SysPrint
friend

The documentation for this class was generated from the following files: