Flow123d
JS_before_hm-2207-gef9ee6d82
|
Go to the documentation of this file.
18 #ifndef LOCAL_TO_GLOBAL_MAP_HH_
19 #define LOCAL_TO_GLOBAL_MAP_HH_
96 void insert(
const unsigned int idx);
108 inline unsigned int operator[] (
const unsigned int local_idx)
const
const std::vector< unsigned int > & get_map_vector() const
unsigned int size() const
class to manage local indices on sub-domain to global indices on domain
std::set< unsigned int > * nonlocal_indices_
auxiliary set of non-local part of the map
#define ASSERT_LT(a, b)
Definition of comparative assert macro (Less Than) only for debug mode.
unsigned int operator[](const unsigned int local_idx) const
std::vector< unsigned int > global_indices_
mapping for all local indices
void insert(const unsigned int idx)
std::shared_ptr< Distribution > distr_
distribution of the global indices
Global macros to enhance readability and debugging, general constants.
LocalToGlobalMap(const Distribution &distr)
std::shared_ptr< Distribution > get_distr()