Rheolef  7.1
an efficient C++ finite element environment
geo_mpi.cc
Go to the documentation of this file.
1 #include "rheolef/config.h"
22 #ifdef _RHEOLEF_HAVE_MPI
23 #include "rheolef/geo.h"
24 
25 namespace rheolef {
26 
27 template <class T>
30 {
31  const geo_element& K = base::dis_get_geo_element(dim,dis_ige);
32  return K.ios_dis_ie();
33 }
34 // --------------------------------------------------------------------------
35 // access by geo_element(dim,idx)
36 // --------------------------------------------------------------------------
37 template <class T>
40 {
41  return _ios_ige2dis_ige[dim].ownership();
42 }
43 template <class T>
46 {
47  return _ios_ige2dis_ige[dim][ios_ige];
48 }
49 template <class T>
52 {
53  const geo_element& K = get_geo_element(dim,ige);
54  return K.ios_dis_ie();
55 }
56 // ----------------------------------------------------------------------------
57 // instanciation in library
58 // ----------------------------------------------------------------------------
59 template class geo_rep<Float,distributed>;
60 
61 } // namespace rheolef
62 #endif // _RHEOLEF_HAVE_MPI
rheolef::distributor
see the distributor page for the full documentation
Definition: distributor.h:62
rheolef::geo_element
see the geo_element page for the full documentation
Definition: geo_element.h:102
rheolef::geo_rep
sequential mesh representation
Definition: domain_indirect.h:63
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37
rheolef::geo_rep< T, distributed >::size_type
base::size_type size_type
Definition: geo.h:934
mkgeo_ball.dim
dim
Definition: mkgeo_ball.sh:307
rheolef::geo_element::ios_dis_ie
size_type ios_dis_ie() const
Definition: geo_element.h:164