LatticeYangMills
|
Class for reding lattices from binary files. More...
#include <inputconf.h>
Static Public Member Functions | |
static void | readConf (GluonField &lattice, int confNum) |
Reads a binary file from a int marker for the name. More... | |
static void | readConf (GluonField &lattice, const char *inputFile) |
Reads a binary file given its path into a lattice object. More... | |
static void | readSubLattice (GluonField &lattice, int confNum) |
Reads one binary file for each processor, assuming it is split. | |
static void | setInputDir (std::string inputDir) |
Sets the input directory. More... | |
static void | getInputList (std::vector< std::string > &inputConfList) |
Returns a list of all valid input files in a the input directory. More... | |
Static Private Attributes | |
static int | m_linkSize = 18 * sizeof(double) |
Contains the size in bytes of a 4 links on a lattice site. | |
static std::string | m_inputDir |
The path of the input directory. | |
Class for reding lattices from binary files.
This class mainly serves the purpose of providing an interface for reading GluonField objects from binary format.
Definition at line 50 of file inputconf.h.
|
static |
Returns a list of all valid input files in a the input directory.
scans the input folder for valid binary files containing lattice field configurations
inputConfList | a vector of string to store the path of the configuration(s) to read |
Definition at line 109 of file inputconf.cpp.
|
static |
Reads a binary file from a int marker for the name.
reads a lattice configuration in a given field object from a numerical tag
lattice | the GluonField to read the lattice field configuration in |
confNum | the numerical label of the configuration to read |
Definition at line 136 of file inputconf.cpp.
|
static |
Reads a binary file given its path into a lattice object.
reads a lattice configuration in a given field object given a path
lattice | the GluonField to read the lattice field configuration in |
inputFile | the path to the configuration to read |
Definition at line 147 of file inputconf.cpp.
|
static |
Sets the input directory.
sets the input directory static variable
inputDir | the path of the input directory |
Definition at line 101 of file inputconf.cpp.