Rheolef  7.2
an efficient C++ finite element environment
geo_header.h
Go to the documentation of this file.
1#ifndef _RHEOLEF_GEO_HEADER_H
2#define _RHEOLEF_GEO_HEADER_H
23//
24// i/o for geo header file format version 3
25//
26#include "rheolef/diststream.h"
27#include "rheolef/reference_element.h"
28#include "rheolef/space_constant.h"
29
30namespace rheolef {
31
32struct geo_header {
33 typedef size_t size_type;
35 geo_header();
36// accessor:
37 bool need_upgrade() const;
38// data:
45};
46inline
48 : dimension(0),
49 map_dimension(0),
50 sys_coord(space_constant::cartesian),
51 order(1),
52 dis_size_by_variant(),
53 dis_size_by_dimension()
54{
57}
60
61} // namespace rheolef {
62#endif // _RHEOLEF_GEO_HEADER_H
idiststream: see the diststream page for the full documentation
Definition: diststream.h:336
odiststream: see the diststream page for the full documentation
Definition: diststream.h:137
static const variant_type max_variant
const size_t dimension
Definition: edge.icc:64
string sys_coord
Definition: mkgeo_grid.sh:171
This file is part of Rheolef.
std::ostream & operator<<(std::ostream &os, const catchmark &m)
Definition: catchmark.h:99
std::istream & operator>>(std::istream &is, const catchmark &m)
Definition: catchmark.h:88
space_constant::coordinate_type coordinate_type
Definition: geo_header.h:34
bool need_upgrade() const
Definition: geo_header.cc:79
size_type map_dimension
Definition: geo_header.h:40
size_type dis_size_by_dimension[4]
Definition: geo_header.h:44
coordinate_type sys_coord
Definition: geo_header.h:41
size_type dimension
Definition: geo_header.h:39
size_type dis_size_by_variant[reference_element::max_variant]
Definition: geo_header.h:43