QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | List of all members
quda::VectorIO Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ VectorIO()

quda::VectorIO::VectorIO ( const std::string &  filename,
bool  parity_inflate = false 
)

Constructor for VectorIO class

Parameters
[in]filenameThe filename associated with this IO object
[in]parity_inflateWhether to inflate single_parity field to dual parity fields for I/O

Definition at line 9 of file vector_io.cpp.

Member Function Documentation

◆ load()

void quda::VectorIO::load ( std::vector< ColorSpinorField * > &  vecs)

Load vectors from filename.

Parameters
[in]vecsThe set of vectors to load

Definition at line 20 of file vector_io.cpp.

◆ save()

void quda::VectorIO::save ( const std::vector< ColorSpinorField * > &  vecs)

Save vectors to filename.

Parameters
[in]vecsThe set of vectors to save

Definition at line 119 of file vector_io.cpp.


The documentation for this class was generated from the following files: