LatticeYangMills
|
Class for output to file of observables values. More...
#include <outputobs.h>
Static Public Member Functions | |
static void | initialize (std::vector< Observable * > &obsList) |
Opens the files and writes needed headers. More... | |
static void | writeObs (std::vector< Observable * > &obsList, int MCSteps) |
Writes the list of observables to file at given generation point. More... | |
static void | writeFlowObs (int confNum, std::vector< Observable * > &obsList, std::vector< std::vector< double >> &obsMatrix) |
Writes the observables for given flow step. More... | |
static void | setOutputDir (std::string outputDir) |
Sets the output directory for the file output. More... | |
Static Private Attributes | |
static FILE * | m_file |
The file object for target output. | |
static char | fileName [1024] |
The name of the output file. | |
static std::string | m_outputDir |
The output directory. | |
Class for output to file of observables values.
This file defines the class needed to file the values of the observables at different steps in the execution. It handles through MPI the acces to files depending on rank. Provides output for generation and flow steps.
Definition at line 59 of file outputobs.h.
|
static |
Opens the files and writes needed headers.
initializes the output file for the observables
obsList | a vector of Observables that will be computed and written to file |
Definition at line 63 of file outputobs.cpp.
|
static |
Sets the output directory for the file output.
sets the output directory static variable
outputDir | a string for the path of the output directory |
Definition at line 52 of file outputobs.cpp.
|
static |
Writes the observables for given flow step.
writes the matrix of observables for each flowtime to file, given a numerical tag
confNum | the tag of the current configuration that's being flowed |
obsList | a vector of Observables that will be computed and written to file |
obsMatrix | a matrix containing all the observables computed at every flow time |
Definition at line 97 of file outputobs.cpp.
|
static |
Writes the list of observables to file at given generation point.
writes the current state of the observables to file, given a numerical tag
obsList | a vector of Observables that will be computed and written to file |
MCSteps | the tag of the current Monte Carlo step |
Definition at line 80 of file outputobs.cpp.