forked from lhayward/ON_Model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SimParameters.h
executable file
·50 lines (42 loc) · 1.66 KB
/
SimParameters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**********************************************************************************************
************************************ OPE COEFFICIENTS CODE ************************************
***********************************************************************************************
* Lauren E. Hayward Sierens
***********************************************************************************************
* File: SimParameters.h
**********************************************************************************************/
#ifndef SIM_PARAMETERS_H
#define SIM_PARAMETERS_H
#include <fstream>
#include <string>
#include <vector>
#include "MersenneTwister.h"
class SimParameters
{
public:
typedef unsigned int uint;
typedef unsigned long ulong;
std::vector<double>* TList_; //list of temperatures
ulong seed_;
uint numWarmUpSweeps_;
uint sweepsPerMeas_;
uint measPerBin_;
uint numBins_;
uint spinDim_; //value of N for the O(N) model
bool printSpins_;
MTRand randomGen_; //random number generator
//public:
SimParameters(std::string fileName, std::string startStr);
virtual ~SimParameters();
void print();
//getter methods:
/*double getTemperature (uint i);
MTRand* getRandomGen ();
uint getNumWarmUpSweeps();
uint getSweepsPerMeas ();
uint getMeasPerBin ();
uint getNumBins ();
std::string getLatticeType ();
std::string getModelName ();*/
};
#endif // SIM_PARAMETERS_H