25#include "rheolef/geo_size.h"
47 if (ige < last_v)
return variant;
50 error_macro (
"dis_ie2variant: invalid dis_ige="<<dis_ige<<
", ige="<<ige);
64 prev_variant < variant;
76 size_type dis_igev = dis_ige - first_dis_v;
77trace_macro(
"dis_ige2dis_igev (map_dim="<<map_dim<<
", hat_K="<<
reference_element(variant).name()<<
", dis_ige="<<dis_ige<<
"): dis_igev="<<dis_igev<<
"...");
116 size_type inod = dis_inod - first_dis_inod;
130 size_type dis_inod = first_dis_inod + inod;
see the distributor page for the full documentation
size_type last_index(size_type iproc) const
size_type find_owner(size_type dis_i) const
find iproc associated to a global index dis_i: CPU=log(nproc)
size_type size(size_type iproc) const
size_type first_index(size_type iproc) const
global index range and local size owned by ip-th process
see the reference_element page for the full documentation
static const variant_type max_variant
static variant_type last_variant_by_dimension(size_type dim)
size_type dimension() const
static variant_type first_variant_by_dimension(size_type dim)
#define trace_macro(message)
#define assert_macro(ok_condition, message)
#define error_macro(message)
This file is part of Rheolef.
size_type dis_ige2dis_igev_by_variant(size_type variant, size_type dis_ige) const
distributor ownership_by_variant[reference_element::max_variant]
size_type dis_iv2dis_inod(size_type dis_iv) const
size_type dis_ige2variant(size_type map_dim, size_type dis_ige) const
size_type dis_ige2dis_igev_by_dimension(size_type map_dim, size_type dis_ige) const
distributor node_ownership
size_type dis_inod2dis_iv(size_type dis_inod) const
distributor::size_type size_type
distributor ownership_by_dimension[4]
size_type _dis_ige2dis_igev(size_type map_dim, size_type variant, size_type dis_ige) const