Bridge++  Ver. 1.3.x
fieldIO_Fortran.h
Go to the documentation of this file.
1 
14 #ifndef FIELDIO_FORTRAN_INCLUDED
15 #define FIELDIO_FORTRAN_INCLUDED
16 
17 #include "fieldIO.h"
18 
20 
46 class FieldIO_Fortran : public FieldIO
47 {
48  public:
49  static const std::string class_name;
50 
51  public:
52  FieldIO_Fortran(const IO_Format::Format *format) : FieldIO(format)
53  {}
54 
55  void read_file(Field *v, std::string filename);
56  void write_file(Field *v, std::string filename);
57 
58  void read_file(std::vector<Field *>& vv, const std::string& filename);
59  void write_file(std::vector<Field *>& vv, const std::string& filename);
60 };
61 #endif
Container of Field-type object.
Definition: field.h:39
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:53