Bridge++  Ver. 2.0.2
fieldIO_NERSC.h
Go to the documentation of this file.
1 
14 #ifndef FIELDIO_NERSC_INCLUDED
15 #define FIELDIO_NERSC_INCLUDED
16 
17 #include <string>
18 using std::string;
19 
20 #include "fieldIO.h"
21 
22 #include "Field/index_lex.h"
23 #include "Field/field.h"
24 
26 
44 class FieldIO_NERSC : public FieldIO
45 {
46  public:
47  static const std::string class_name;
48 
49  public:
50  FieldIO_NERSC(const IO_Format::Format *format) : FieldIO(format)
51  {}
52 
53  void read_file(Field& v, const std::string& filename);
54  void write_file(Field& v, const std::string& filename);
55 };
56 #endif
IO_Format::Format
Definition: io_format.h:36
FieldIO_NERSC::FieldIO_NERSC
FieldIO_NERSC(const IO_Format::Format *format)
Definition: fieldIO_NERSC.h:50
FieldIO_NERSC::read_file
void read_file(Field &v, const std::string &filename)
read data from file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_NERSC.cpp:29
fieldIO.h
field.h
index_lex.h
FieldIO_NERSC
FieldIO_NERSC class for file I/O of Field data in binary format.
Definition: fieldIO_NERSC.h:44
FieldIO_NERSC::class_name
static const std::string class_name
Definition: fieldIO_NERSC.h:47
FieldIO
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:53
FieldIO_NERSC::write_file
void write_file(Field &v, const std::string &filename)
write data to file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_NERSC.cpp:144
Field
Container of Field-type object.
Definition: field.h:46