QUDA
v1.1.0
A library for QCD on GPUs
|
VectorIO is a simple wrapper class for loading and saving sets of vector fields using QIO. More...
#include <vector_io.h>
Public Member Functions | |
VectorIO (const std::string &filename, bool parity_inflate=false) | |
void | load (std::vector< ColorSpinorField * > &vecs) |
Load vectors from filename. More... | |
void | save (const std::vector< ColorSpinorField * > &vecs) |
Save vectors to filename. More... | |
VectorIO is a simple wrapper class for loading and saving sets of vector fields using QIO.
Definition at line 12 of file vector_io.h.
quda::VectorIO::VectorIO | ( | const std::string & | filename, |
bool | parity_inflate = false |
||
) |
Constructor for VectorIO class
[in] | filename | The filename associated with this IO object |
[in] | parity_inflate | Whether to inflate single_parity field to dual parity fields for I/O |
Definition at line 9 of file vector_io.cpp.
void quda::VectorIO::load | ( | std::vector< ColorSpinorField * > & | vecs | ) |
Load vectors from filename.
[in] | vecs | The set of vectors to load |
Definition at line 20 of file vector_io.cpp.
void quda::VectorIO::save | ( | const std::vector< ColorSpinorField * > & | vecs | ) |
Save vectors to filename.
[in] | vecs | The set of vectors to save |
Definition at line 119 of file vector_io.cpp.