Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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  void read_file(std::vector<Field *>& vv, const std::string& filename);
65  void write_file(std::vector<Field *>& vv, const std::string& filename);
66 };
67 #endif
Container of Field-type object.
Definition: field.h:45
FieldIO_Fortran class for file I/O of Field data in Fortran binary format.
void read_file(Field *v, const std::string filename)
read data from file.
static const std::string class_name
void write_file(Field *v, const std::string filename)
write data to file.
FieldIO_Fortran(const IO_Format::Format *format)
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:53