QDP++
qdp_iogauge.cc File Reference

Various gauge readers/writers and propagator readers/writers. More...

#include "qdp.h"
#include "qdp_iogauge.h"
#include "time.h"
#include <unistd.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  QDP
 Yet another random number generator.

Functions

int gethostname (char *, size_t)
template<class T>
std::ostream & QDP::operator<< (std::ostream &s, const multi1d< T > &d)
 Write a multi1d array.
void QDP::read (XMLReader &xml, const std::string &path, ArchivGauge_t &header)
 Source header read.
void QDP::write (XMLWriter &xml, const std::string &path, const ArchivGauge_t &header)
 Source header writer.
static void QDP::readArchivHeader (BinaryReader &cfg_in, ArchivGauge_t &header)
 Read a QCD (NERSC) Archive format gauge field header.
void QDP::readArchiv (BinaryReader &cfg_in, multi1d< LatticeColorMatrix > &u, n_uint32_t &checksum, int mat_size, int float_size)
 Read a NERSC Gauge Connection Archive file.
void QDP::readArchiv (ArchivGauge_t &header, multi1d< LatticeColorMatrix > &u, const std::string &file)
 Reads a NERSC Gauge Connection Archive format gauge field.
void QDP::readArchiv (XMLReader &xml, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Reads a NERSC Gauge Connection Archive gauge configuration file.
void QDP::readArchiv (multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Reads a NERSC Gauge Connection Archive gauge configuration file.
static void QDP::writeArchivHeader (BinaryWriter &cfg_out, const ArchivGauge_t &header)
 Write a QCD (NERSC) Archive format gauge field.
void QDP::writeArchiv (BinaryWriter &cfg_out, const multi1d< LatticeColorMatrix > &u, int mat_size)
 Writes a NERSC Gauge Connection Archive gauge configuration file.
void QDP::writeArchiv (ArchivGauge_t &header, const multi1d< LatticeColorMatrix > &u, const std::string &file)
 Writes a NERSC Gauge Connection Archive gauge configuration file.
void QDP::writeArchiv (XMLBufferWriter &xml, const multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Writes a NERSC Gauge Connection Archive gauge configuration file.
void QDP::writeArchiv (const multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Writes a NERSC Gauge Connection Archive gauge configuration file.

Detailed Description

Various gauge readers/writers and propagator readers/writers.

Definition in file qdp_iogauge.cc.

Function Documentation

◆ gethostname()

int gethostname ( char * hostname,
size_t size )
extern