rheolef  6.6
geo_size.h
Go to the documentation of this file.
1 #ifndef _RHEOLEF_GEO_SIZE_H
2 #define _RHEOLEF_GEO_SIZE_H
3 
4 #include "rheolef/distributor.h"
5 #include "rheolef/reference_element.h"
6 
7 namespace rheolef {
8 
9 struct geo_size {
10 
11 
13 
14 
15  distributor ownership_by_dimension [4]; // dist. by geo_element dimension: 0,1,2,3
17  distributor node_ownership; // node dist. differs from vertex one when geo order > 1
18  distributor first_by_variant [reference_element::max_variant]; // cumul by type: (t,q), (T,P,H)...
19 
20 
21  size_type dis_ige2variant (size_type map_dim, size_type dis_ige) const;
22 
23  size_type dis_ige2dis_igev (size_type map_dim, size_type variant, size_type dis_ige) const;
24 
25  size_type dis_ige2dis_igev ( size_type map_dim, size_type dis_ige) const;
26 };
27 
28 } // namespace rheolef
29 #endif // _RHEOLEF_GEO_ELEMENT_H
distributor - data distribution table
Definition: distributor.h:19
static const variant_type max_variant
size_type dis_ige2variant(size_type map_dim, size_type dis_ige) const
Definition: geo_size.cc:6
size_type dis_ige2dis_igev(size_type map_dim, size_type variant, size_type dis_ige) const
Definition: geo_size.cc:27
irheostream, orheostream - large data streams
Definition: compiler.h:7
distributor node_ownership
Definition: geo_size.h:17
distributor ownership_by_variant[reference_element::max_variant]
Definition: geo_size.h:16
distributor ownership_by_dimension[4]
Definition: geo_size.h:15
distributor::size_type size_type
Definition: geo_size.h:12
distributor first_by_variant[reference_element::max_variant]
Definition: geo_size.h:18
std::allocator< int >::size_type size_type
Definition: distributor.h:23