Bridge++
Ver. 2.0.2
|
FieldIO_NERSC class for file I/O of Field data in binary format. More...
#include <fieldIO_NERSC.h>
Public Member Functions | |
FieldIO_NERSC (const IO_Format::Format *format) | |
void | read_file (Field &v, const std::string &filename) |
read data from file. (‘const’ is added [18 Mar 2021]) More... | |
void | write_file (Field &v, const std::string &filename) |
write data to file. (‘const’ is added [18 Mar 2021]) More... | |
Public Member Functions inherited from FieldIO | |
FieldIO (const IO_Format::Format *format) | |
< constructor. format specifies data layout on file. More... | |
virtual | ~FieldIO () |
void | deliver (Field *vlocal, Field *vglobal) |
distribute data on primary node over parallel nodes. More... | |
void | gather (Field *vglobal, Field *vlocal) |
gather data on parallel nodes to primary node. More... | |
Static Public Attributes | |
static const std::string | class_name = "FieldIO_NERSC" |
Static Public Attributes inherited from FieldIO | |
static const std::string | class_name = "FieldIO" |
Additional Inherited Members | |
Static Public Member Functions inherited from FieldIO | |
static void | convert_endian (void *buf, size_t size, size_t nmemb) |
check if machine byte order is big-endian. More... | |
static bool | is_bigendian () |
Protected Attributes inherited from FieldIO | |
const IO_Format::Format * | m_format |
Bridge::VerboseLevel | m_vl |
FieldIO_NERSC class for file I/O of Field data in binary format.
Main ingredients of this class were implemented by T.Yoshie: cinput, coutput, big_endian, and byte_swap. Incorporated to GaugeConfig_Binary class family by H.Matsufuru.
The file format treated in this class defined in Massimio Di Pierro "QCDUTILS" arXiv:1202.4813 [hep-lat]
The binary format is the same as FieldIO_Binary class. FieldIUO_NERSC class does not provide error checks against the meta data encoded in the header. [11 Apr 2022 I.Kanamori]
Definition at line 44 of file fieldIO_NERSC.h.
|
inline |
Definition at line 50 of file fieldIO_NERSC.h.
|
virtual |
read data from file. (‘const’ is added [18 Mar 2021])
Implements FieldIO.
Definition at line 29 of file fieldIO_NERSC.cpp.
|
virtual |
write data to file. (‘const’ is added [18 Mar 2021])
Implements FieldIO.
Definition at line 144 of file fieldIO_NERSC.cpp.
|
static |
Definition at line 47 of file fieldIO_NERSC.h.