rheolef  6.6
geo_mpi.cc
Go to the documentation of this file.
1 #include "rheolef/config.h"
2 #ifdef _RHEOLEF_HAVE_MPI
3 #include "rheolef/geo.h"
4 
5 namespace rheolef {
6 
7 template <class T>
9 geo_rep<T,distributed>::dis_ige2ios_dis_ige (size_type dim, size_type dis_ige) const
10 {
11  const geo_element& K = base::dis_get_geo_element(dim,dis_ige);
12  return K.ios_dis_ie();
13 }
14 template <class T>
15 distributor
16 geo_rep<T,distributed>::geo_element_ios_ownership (size_type dim) const
17 {
18  return _ios_ige2dis_ige[dim].ownership();
19 }
20 template <class T>
22 geo_rep<T,distributed>::ios_ige2dis_ige (size_type dim, size_type ios_ige) const
23 {
24  return _ios_ige2dis_ige[dim][ios_ige];
25 }
26 template <class T>
28 geo_rep<T,distributed>::ige2ios_dis_ige (size_type dim, size_type ige) const
29 {
30  const geo_element& K = get_geo_element(dim,ige);
31  return K.ios_dis_ie();
32 }
33 template class geo_rep<Float,distributed>;
34 
35 } // namespace rheolef
36 #endif // _RHEOLEF_HAVE_MPI
irheostream, orheostream - large data streams
Definition: compiler.h:7
reference_element_H::size_type size_type