GLAC
1.0
|
#include <fieldio.h>
Public Member Functions | |
FieldIO () | |
IO::FieldIO::FieldIO initializes the FieldIO object. More... | |
~FieldIO () | |
IO::FieldIO::~FieldIO. More... | |
Static Public Member Functions | |
static void | init () |
IO::FieldIO::init updates the lattice dimensions. More... | |
static void | writeFieldToFile (Lattice< SU3 > *lattice, unsigned int configNumber) |
IO::FieldIO::writeFieldToFile writes a lattice of SU3 matrix objects to file. More... | |
static void | writeDoublesFieldToFile (Lattice< double > lattice, unsigned int configNumber, std::string observable) |
IO::FieldIO::writeDoublesFieldToFile writes a lattice of doubles to file. More... | |
static void | loadFieldConfiguration (std::string filename, Lattice< SU3 > *lattice) |
IO::FieldIO::loadFieldConfiguration loads a regular configuration into memory. More... | |
static void | loadChromaFieldConfiguration (std::string filename, Lattice< SU3 > *lattice) |
IO::FieldIO::loadChromaFieldConfiguration loads a configuration from Chroma into memory. More... | |
FieldIO::FieldIO | ( | ) |
IO::FieldIO::FieldIO initializes the FieldIO object.
Empty constructor.
FieldIO::~FieldIO | ( | ) |
Empty destructor.
|
static |
IO::FieldIO::init updates the lattice dimensions.
Used in unit testing.
|
static |
IO::FieldIO::loadChromaFieldConfiguration loads a configuration from Chroma into memory.
filename | |
lattice | is a pointer of four lattice objects, one for each Lorentz index, that will filled with the configuration read from file. |
If debug is true in the passed .json parameter file, it will perform a check for lattice corruption.
IO::FieldIO::loadFieldConfiguration loads a regular configuration into memory.
filename | |
lattice | is a pointer of four lattice objects, one for each Lorentz index, that will filled with the configuration read from file. |
If debug is true in the passed .json parameter file, it will perform a check for lattice corruption.
|
static |
IO::FieldIO::writeDoublesFieldToFile writes a lattice of doubles to file.
lattice | is a pointer of four lattice objects, one for each Lorentz index. |
configNumber | configuration number. |
observable | name of the observable. |
Useful if one wants to visualize the lattice.
Uses MPI_File_write_at to write the configuration to a file.
If debug is true in the passed .json parameter file, it will perform a check for lattice corruption.
IO::FieldIO::writeFieldToFile writes a lattice of SU3 matrix objects to file.
lattice | is a pointer of four lattice objects, one for each Lorentz index. |
configNumber | the configuration number to name the file with. |
Uses MPI_File_write_at to write the configuration to a file.
If debug is true in the passed .json parameter file, it will perform a check for lattice corruption.