Bridge++
Ver. 1.2.x
|
FieldIO_Text class for file I/O of Field data in plain text format. More...
#include <fieldIO_Text_4x4x4x8.h>
Public Member Functions | |
FieldIO_Text_4x4x4x8 (const IO_Format::Format *format) | |
void | read_file (Field *v, string filename) |
void | write_file (Field *v, string filename) |
![]() | |
FieldIO (const IO_Format::Format *format) | |
< constructor. format specifies data layout on file. More... | |
virtual | ~FieldIO () |
virtual void | read_file (Field *v, std::string)=0 |
read data from file. More... | |
virtual void | write_file (Field *v, std::string)=0 |
write data to file. More... | |
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_Text_4x4x4x8" |
![]() | |
static const std::string | class_name = "FieldIO" |
Additional Inherited Members | |
![]() | |
static void | byte_swap (void *buf, size_t size, size_t nmemb) |
< convert byte order. alternative interface. More... | |
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 () |
![]() | |
const IO_Format::Format * | m_format |
Bridge::VerboseLevel | m_vl |
FieldIO_Text class for file I/O of Field data in plain text format.
This class read 4x4x4x8 in plain text format lattice and periodically copy it as a larger size of lattice. The configuration is read on the rank 0 node and broadcasted. No write method is defined. [11 Jul 2014 H.Matsufuru]
Definition at line 30 of file fieldIO_Text_4x4x4x8.h.
|
inline |
Definition at line 36 of file fieldIO_Text_4x4x4x8.h.
void FieldIO_Text_4x4x4x8::read_file | ( | Field * | v, |
string | filename | ||
) |
Definition at line 25 of file fieldIO_Text_4x4x4x8.cpp.
void FieldIO_Text_4x4x4x8::write_file | ( | Field * | v, |
string | filename | ||
) |
Definition at line 151 of file fieldIO_Text_4x4x4x8.cpp.
|
static |
Definition at line 33 of file fieldIO_Text_4x4x4x8.h.