Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fieldIO_Fortran.h
Go to the documentation of this file.
1 
10 #ifndef FIELDIO_FORTRAN_INCLUDED
11 #define FIELDIO_FORTRAN_INCLUDED
12 
13 #include <string>
14 using std::string;
15 
16 #include "fieldIO.h"
17 #include "index_lex.h"
18 #include "field.h"
19 
21 
51 class FieldIO_Fortran : public FieldIO
52 {
53  public:
54  static const std::string class_name;
55 
56  public:
57  FieldIO_Fortran(const IO_Format::Format *format) : FieldIO(format)
58  {
59  }
60 
61  void read_file(Field *v, std::string filename);
62  void write_file(Field *v, std::string filename);
63 };
64 #endif
Container of Field-type object.
Definition: field.h:37
void read_file(Field *v, std::string filename)
read data from file.
FieldIO_Fortran class for file I/O of Field data in Fortran binary format.
static const std::string class_name
FieldIO_Fortran(const IO_Format::Format *format)
void write_file(Field *v, std::string filename)
write data to file.
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:48