GLAC
1.0
|
Data Structures | |
class | FieldIO |
Functions | |
void | writeObservablesToFile (double acceptanceRate, double averagedObservable, double varianceObservable, double stdObservable, std::vector< double > observables, unsigned int NObs, std::string observableName) |
IO::writeObservablesToFile method for writing an observable to file, using .15 precision. More... | |
void | writeFlowObservableToFile (std::vector< double > observables, std::string observableName, unsigned int configNumber) |
IO::writeFlowObservableToFile method for writing a flow observable to file, using .15 precision. More... | |
void | writeMatrixToFile (std::vector< double > observables, std::string observableName, unsigned int configNumber, unsigned int N) |
IO::writeMatrixToFile writes out a matrix of observables to file, i.e. the topological charge in Euclidean time. Uses a .15 precision. More... | |
Holds the field input/output class FieldIO as well as methods for writing observables to file.
void IO::writeFlowObservableToFile | ( | std::vector< double > | observables, |
std::string | observableName, | ||
unsigned int | configNumber | ||
) |
IO::writeFlowObservableToFile method for writing a flow observable to file, using .15 precision.
observables | a vector of observables. |
observableName | observable name. |
configNumber | the configuration number. |
Top 3 rows of the output file will contain,
void IO::writeMatrixToFile | ( | std::vector< double > | observables, |
std::string | observableName, | ||
unsigned int | configNumber, | ||
unsigned int | N | ||
) |
IO::writeMatrixToFile writes out a matrix of observables to file, i.e. the topological charge in Euclidean time. Uses a .15 precision.
observables | the observables in a vector of doubles. |
observableName | the name of the observable. |
configNumber | the configuration number. |
N | the number of columns in the matrix of observables. The number of rows in the matrix is the number of flow steps, NFlows, retrieved from Parameters::getNFlows(). |
Top 3 rows of the output file will contain,
void IO::writeObservablesToFile | ( | double | acceptanceRate, |
double | averagedObservable, | ||
double | varianceObservable, | ||
double | stdObservable, | ||
std::vector< double > | observables, | ||
unsigned int | NObs, | ||
std::string | observableName | ||
) |
IO::writeObservablesToFile method for writing an observable to file, using .15 precision.
acceptanceRate | acceptance rate from the Metropolis algorithm. |
averagedObservable | the average of the observable. |
varianceObservable | the variance of the observable. |
stdObservable | the standard deviation of the observable. |
observables | vector of doubles containing the observable. |
NObs | the number of configurations, i.e. observables, to be written to file. |
observableName | name of the observable. Topological charge, plaquette, energy ect. |
The top 8 rows contains,