|
Bridge++
Ver. 1.1.x
|
FieldIO_Binary_Parallel class for file I/O of Field data in binary format using MPI parallel I/O. More...
#include <fieldIO_Binary_Parallel.h>
Public Member Functions | |
| FieldIO_Binary_Parallel (const IO_Format::Format *format) | |
Public Member Functions inherited from FieldIO_Binary | |
| FieldIO_Binary (const IO_Format::Format *format) | |
| void | read_file (Field *v, string filename) |
| void | write_file (Field *v, string filename) |
Public Member Functions inherited from FieldIO | |
| 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from FieldIO | |
| void | byte_swap (void *buf, size_t size, size_t nmemb) |
| < convert byte order. alternative interface. More... | |
| void | convert_endian (void *buf, size_t size, size_t nmemb) |
| check if machine byte order is big-endian. More... | |
| bool | is_bigendian () const |
Protected Attributes inherited from FieldIO | |
| const IO_Format::Format * | m_format |
| Bridge::VerboseLevel | m_vl |
FieldIO_Binary_Parallel class for file I/O of Field data in binary format using MPI parallel I/O.
The file format treated in this class is the same as ILDG file format, while not packed to LIME file. The endian is big as the definition of ILDG file. [28 Dec 2011 H.Matsufuru]
FieldIO_Binary_Parallel provides file I/O of Field data in binary format. File I/O is performed in parallel relying on MPI I/O. The interface is defined in the FieldIO base class, and this class defines concrete realisation.
Parallel I/O is enabled when USE_MPI option is turned on; otherwise this class is an alias of FieldIO_Binary that provides serial I/O.
Definition at line 67 of file fieldIO_Binary_Parallel.h.
|
inline |
Definition at line 70 of file fieldIO_Binary_Parallel.h.