rheolef  6.5
geo_header.h
Go to the documentation of this file.
1 #ifndef _RHEOLEF_GEO_HEADER_H
2 #define _RHEOLEF_GEO_HEADER_H
3 // i/o for geo header file format version 3
4 #include "rheolef/diststream.h"
5 #include "rheolef/reference_element.h"
6 #include "rheolef/space_constant.h"
7 
8 namespace rheolef {
9 
10 struct geo_header {
11  typedef size_t size_type;
13  geo_header();
14  bool need_upgrade() const;
21 };
22 inline
24  : dimension(0),
25  sys_coord(space_constant::cartesian),
26  order(1)
27 {
29  std::fill (dis_size_by_dimension, dis_size_by_dimension + 4, 0);
30 }
33 
34 } // namespace rheolef {
35 #endif // _RHEOLEF_GEO_HEADER_H
36