Bridge++  Ver. 2.0.2
fieldIO_Fortran.h
Go to the documentation of this file.
1 
14 #ifndef FIELDIO_FORTRAN_INCLUDED
15 #define FIELDIO_FORTRAN_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 
52 class FieldIO_Fortran : public FieldIO
53 {
54  public:
55  static const std::string class_name;
56 
57  public:
58  FieldIO_Fortran(const IO_Format::Format *format) : FieldIO(format)
59  {}
60 
61  void read_file(Field& v, const std::string& filename);
62  void write_file(Field& v, const std::string& filename);
63 };
64 #endif
FieldIO_Fortran::read_file
void read_file(Field &v, const std::string &filename)
read data from file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_Fortran.cpp:24
FieldIO_Fortran
FieldIO_Fortran class for file I/O of Field data in Fortran binary format.
Definition: fieldIO_Fortran.h:52
IO_Format::Format
Definition: io_format.h:36
FieldIO_Fortran::FieldIO_Fortran
FieldIO_Fortran(const IO_Format::Format *format)
Definition: fieldIO_Fortran.h:58
fieldIO.h
field.h
index_lex.h
FieldIO_Fortran::write_file
void write_file(Field &v, const std::string &filename)
write data to file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_Fortran.cpp:143
FieldIO
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:53
FieldIO_Fortran::class_name
static const std::string class_name
Definition: fieldIO_Fortran.h:55
Field
Container of Field-type object.
Definition: field.h:46