Rheolef  7.2
an efficient C++ finite element environment
geo_mpi.cc
Go to the documentation of this file.
1
21#include "rheolef/config.h"
22#ifdef _RHEOLEF_HAVE_MPI
23#include "rheolef/geo.h"
24
25namespace rheolef {
26
27template <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// --------------------------------------------------------------------------
37template <class T>
40{
41 return _ios_ige2dis_ige[dim].ownership();
42}
43template <class T>
46{
47 return _ios_ige2dis_ige[dim][ios_ige];
48}
49template <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// ----------------------------------------------------------------------------
59template class geo_rep<Float,distributed>;
60
61} // namespace rheolef
62#endif // _RHEOLEF_HAVE_MPI
see the distributor page for the full documentation
Definition: distributor.h:69
see the geo_element page for the full documentation
Definition: geo_element.h:102
size_type ios_dis_ie() const
Definition: geo_element.h:164
base::size_type size_type
Definition: geo.h:934
sequential mesh representation
Definition: geo.h:778
This file is part of Rheolef.