Rheolef
7.1
an efficient C++ finite element environment
|
Classes | |
struct | dis_reference |
struct | message_type |
struct | remove_const_in_pair |
struct | remove_const_in_pair< std::pair< T1, T2 > > |
struct | stash_traits |
struct | stash_traits< U, std::false_type > |
struct | stash_traits< U, std::true_type > |
Public Types | |
typedef disarray_rep< T, sequential, A > | base |
typedef base::value_type | value_type |
typedef base::size_type | size_type |
typedef base::difference_type | difference_type |
typedef base::reference | reference |
typedef base::const_reference | const_reference |
typedef base::iterator | iterator |
typedef base::const_iterator | const_iterator |
typedef distributor::communicator_type | communicator_type |
typedef distributed | memory_type |
typedef std::map< size_type, T > | scatter_map_type |
![]() | |
typedef T | value_type |
typedef A | allocator_type |
typedef A::difference_type | difference_type |
typedef std::vector< T > | base |
typedef base::size_type | size_type |
typedef base::iterator | iterator |
typedef base::const_iterator | const_iterator |
typedef base::const_reference | const_reference |
typedef base::reference | reference |
typedef reference | dis_reference |
typedef distributor::communicator_type | communicator_type |
typedef sequential | memory_type |
Public Member Functions | |
disarray_rep (const distributor &ownership, const T &init_val=T(), const A &alloc=A()) | |
void | resize (const distributor &ownership, const T &init_val=T()) |
disarray_rep (const disarray_rep< T, distributed, A > &x) | |
A | get_allocator () const |
size_type | size () const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
const distributor & | ownership () const |
const mpi::communicator & | comm () const |
size_type | first_index () const |
size_type | last_index () const |
size_type | dis_size () const |
dis_reference | dis_entry (size_type dis_i) |
template<class SetOp = typename default_set_op<T>::type> | |
void | dis_entry_assembly_begin (SetOp my_set_op=SetOp()) |
template<class SetOp = typename default_set_op<T>::type> | |
void | dis_entry_assembly_end (SetOp my_set_op=SetOp()) |
template<class SetOp = typename default_set_op<T>::type> | |
void | dis_entry_assembly (SetOp my_set_op=SetOp()) |
template<class Set , class Map > | |
void | append_dis_entry (const Set &ext_idx_set, Map &ext_idx_map) const |
get values from ext_idx_set, that are managed by another proc More... | |
template<class Set , class Map > | |
void | get_dis_entry (const Set &ext_idx_set, Map &ext_idx_map) const |
template<class Set > | |
void | append_dis_indexes (const Set &ext_idx_set) const |
template<class Set > | |
void | set_dis_indexes (const Set &ext_idx_set) const |
void | get_dis_indexes (std::set< size_type > &ext_idx_set) const |
void | reset_dis_indexes () const |
const_reference | dis_at (size_type dis_i) const |
const scatter_map_type & | get_dis_map_entries () const |
template<class A2 > | |
void | repartition (const disarray_rep< size_type, distributed, A2 > &partition, disarray_rep< T, distributed, A > &new_disarray, disarray_rep< size_type, distributed, A2 > &old_numbering, disarray_rep< size_type, distributed, A2 > &new_numbering) const |
template<class A2 > | |
void | permutation_apply (const disarray_rep< size_type, distributed, A2 > &new_numbering, disarray_rep< T, distributed, A > &new_disarray) const |
template<class A2 > | |
void | reverse_permutation (disarray_rep< size_type, distributed, A2 > &inew2dis_iold) const |
idiststream & | get_values (idiststream &s) |
odiststream & | put_values (odiststream &s) const |
odiststream & | put_matlab (odiststream &s) const |
template<class GetFunction > | |
idiststream & | get_values (idiststream &ips, GetFunction get_element) |
template<class PutFunction > | |
odiststream & | put_values (odiststream &ops, PutFunction put_element) const |
template<class PutFunction , class A2 > | |
odiststream & | permuted_put_values (odiststream &ops, const disarray_rep< size_type, distributed, A2 > &perm, PutFunction put_element) const |
void | dump (std::string name) const |
![]() | |
disarray_rep (const A &alloc=A()) | |
disarray_rep (const distributor &ownership, const T &init_val=T(), const A &alloc=A()) | |
void | resize (const distributor &ownership, const T &init_val=T()) |
disarray_rep (size_type loc_size=0, const T &init_val=T(), const A &alloc=A()) | |
void | resize (size_type loc_size=0, const T &init_val=T()) |
disarray_rep (const disarray_rep< T, sequential, A > &x) | |
A | get_allocator () const |
size_type | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
const distributor & | ownership () const |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
const_reference | dis_at (size_type dis_i) const |
size_type | dis_size () const |
size_type | first_index () const |
size_type | last_index () const |
reference | dis_entry (size_type dis_i) |
void | get_dis_indexes (std::set< size_type > &ext_idx_set) const |
void | reset_dis_indexes () const |
template<class SetOp = typename default_set_op<T>::type> | |
void | dis_entry_assembly_begin (SetOp=SetOp()) |
template<class SetOp = typename default_set_op<T>::type> | |
void | dis_entry_assembly_end (SetOp=SetOp()) |
void | repartition (const disarray_rep< size_type, sequential, A > &partition, disarray_rep< T, sequential, A > &new_disarray, disarray_rep< size_type, sequential, A > &old_numbering, disarray_rep< size_type, sequential, A > &new_numbering) const |
template<class A2 > | |
void | reverse_permutation (disarray_rep< size_type, sequential, A2 > &inew2dis_iold) const |
idiststream & | get_values (idiststream &s) |
odiststream & | put_values (odiststream &s) const |
odiststream & | put_matlab (odiststream &s) const |
template<class GetFunction > | |
idiststream & | get_values (idiststream &ips, GetFunction get_element) |
template<class PutFunction > | |
odiststream & | put_values (odiststream &ops, PutFunction put_element) const |
void | dump (std::string name) const |
Protected Types | |
typedef is_container_of_mpi_datatype< T >::type | is_container |
typedef stash_traits< T, is_container >::mapped_type | stash_value |
typedef stash_traits< T, is_container >::map_type | stash_map_type |
Protected Member Functions | |
void | set_dis_entry (size_type dis_i, const T &val) |
template<class U > | |
void | set_add_dis_entry (size_type dis_i, const U &val) |
template<class Set , class Map > | |
void | append_dis_entry (const Set &ext_idx_set, Map &ext_idx_map, std::true_type) const |
get values from ext_idx_set, that are managed by another proc; here T=container type More... | |
template<class Set , class Map > | |
void | append_dis_entry (const Set &ext_idx_set, Map &ext_idx_map, std::false_type) const |
get values from ext_idx_set, that are managed by another proc; here T=simple type More... | |
Protected Attributes | |
stash_map_type | _stash |
message_type | _send |
message_type | _receive |
size_type | _receive_max_size |
scatter_map_type | _ext_x |
![]() | |
distributor | _ownership |
Definition at line 289 of file disarray.h.
typedef disarray_rep<T,sequential,A> base |
Definition at line 294 of file disarray.h.
typedef base::value_type value_type |
Definition at line 295 of file disarray.h.
typedef base::size_type size_type |
Definition at line 296 of file disarray.h.
typedef base::difference_type difference_type |
Definition at line 297 of file disarray.h.
typedef base::reference reference |
Definition at line 298 of file disarray.h.
typedef base::const_reference const_reference |
Definition at line 299 of file disarray.h.
typedef base::iterator iterator |
Definition at line 300 of file disarray.h.
typedef base::const_iterator const_iterator |
Definition at line 301 of file disarray.h.
Definition at line 302 of file disarray.h.
typedef distributed memory_type |
Definition at line 303 of file disarray.h.
typedef std::map<size_type, T> scatter_map_type |
Definition at line 304 of file disarray.h.
|
protected |
Definition at line 428 of file disarray.h.
|
protected |
Definition at line 429 of file disarray.h.
|
protected |
Definition at line 430 of file disarray.h.
disarray_rep | ( | const distributor & | ownership, |
const T & | init_val = T() , |
||
const A & | alloc = A() |
||
) |
Definition at line 55 of file disarray_mpi.icc.
disarray_rep | ( | const disarray_rep< T, distributed, A > & | x | ) |
Definition at line 41 of file disarray_mpi.icc.
void resize | ( | const distributor & | ownership, |
const T & | init_val = T() |
||
) |
Definition at line 69 of file disarray_mpi.icc.
A get_allocator | ( | ) | const |
Definition at line 331 of file disarray.h.
size_type size | ( | ) | const |
Definition at line 332 of file disarray.h.
const_iterator begin | ( | ) | const |
Definition at line 333 of file disarray.h.
const_iterator end | ( | ) | const |
Definition at line 334 of file disarray.h.
iterator begin | ( | ) |
Definition at line 335 of file disarray.h.
iterator end | ( | ) |
Definition at line 336 of file disarray.h.
const distributor& ownership | ( | ) | const |
Definition at line 338 of file disarray.h.
const mpi::communicator& comm | ( | ) | const |
Definition at line 339 of file disarray.h.
size_type first_index | ( | ) | const |
Definition at line 340 of file disarray.h.
size_type last_index | ( | ) | const |
Definition at line 341 of file disarray.h.
size_type dis_size | ( | ) | const |
Definition at line 342 of file disarray.h.
dis_reference dis_entry | ( | size_type | dis_i | ) |
Definition at line 344 of file disarray.h.
void dis_entry_assembly_begin | ( | SetOp | my_set_op = SetOp() | ) |
Definition at line 221 of file disarray_mpi.icc.
void dis_entry_assembly_end | ( | SetOp | my_set_op = SetOp() | ) |
Definition at line 236 of file disarray_mpi.icc.
void dis_entry_assembly | ( | SetOp | my_set_op = SetOp() | ) |
Definition at line 351 of file disarray.h.
void append_dis_entry | ( | const Set & | ext_idx_set, |
Map & | ext_idx_map | ||
) | const |
get values from ext_idx_set, that are managed by another proc
Definition at line 510 of file disarray_mpi.icc.
void get_dis_entry | ( | const Set & | ext_idx_set, |
Map & | ext_idx_map | ||
) | const |
Definition at line 358 of file disarray.h.
void append_dis_indexes | ( | const Set & | ext_idx_set | ) | const |
Definition at line 364 of file disarray.h.
void set_dis_indexes | ( | const Set & | ext_idx_set | ) | const |
Definition at line 367 of file disarray.h.
void get_dis_indexes | ( | std::set< size_type > & | ext_idx_set | ) | const |
Definition at line 528 of file disarray_mpi.icc.
void reset_dis_indexes |
Definition at line 403 of file disarray_mpi.icc.
disarray_rep< T, distributed, A >::const_reference dis_at | ( | size_type | dis_i | ) | const |
Definition at line 516 of file disarray_mpi.icc.
const scatter_map_type& get_dis_map_entries | ( | ) | const |
Definition at line 374 of file disarray.h.
void repartition | ( | const disarray_rep< size_type, distributed, A2 > & | partition, |
disarray_rep< T, distributed, A > & | new_disarray, | ||
disarray_rep< size_type, distributed, A2 > & | old_numbering, | ||
disarray_rep< size_type, distributed, A2 > & | new_numbering | ||
) | const |
Definition at line 260 of file disarray_mpi.icc.
void permutation_apply | ( | const disarray_rep< size_type, distributed, A2 > & | new_numbering, |
disarray_rep< T, distributed, A > & | new_disarray | ||
) | const |
Definition at line 327 of file disarray_mpi.icc.
void reverse_permutation | ( | disarray_rep< size_type, distributed, A2 > & | inew2dis_iold | ) | const |
Definition at line 311 of file disarray_mpi.icc.
idiststream & get_values | ( | idiststream & | s | ) |
Definition at line 656 of file disarray_mpi.icc.
odiststream & put_values | ( | odiststream & | s | ) | const |
Definition at line 581 of file disarray_mpi.icc.
odiststream & put_matlab | ( | odiststream & | s | ) | const |
Definition at line 587 of file disarray_mpi.icc.
idiststream & get_values | ( | idiststream & | ips, |
GetFunction | get_element | ||
) |
Definition at line 616 of file disarray_mpi.icc.
odiststream & put_values | ( | odiststream & | ops, |
PutFunction | put_element | ||
) | const |
Definition at line 541 of file disarray_mpi.icc.
odiststream & permuted_put_values | ( | odiststream & | ops, |
const disarray_rep< size_type, distributed, A2 > & | perm, | ||
PutFunction | put_element | ||
) | const |
Definition at line 596 of file disarray_mpi.icc.
void dump | ( | std::string | name | ) | const |
Definition at line 662 of file disarray_mpi.icc.
Definition at line 191 of file disarray_mpi.icc.
|
protected |
Definition at line 206 of file disarray_mpi.icc.
|
protected |
get values from ext_idx_set, that are managed by another proc; here T=container type
3) scatter (get_entry): specialized versions for T=container and T=simple type
Definition at line 415 of file disarray_mpi.icc.
|
protected |
get values from ext_idx_set, that are managed by another proc; here T=simple type
Definition at line 346 of file disarray_mpi.icc.
|
protected |
Definition at line 447 of file disarray.h.
|
protected |
Definition at line 448 of file disarray.h.
|
protected |
Definition at line 449 of file disarray.h.
|
protected |
Definition at line 450 of file disarray.h.
|
mutableprotected |
Definition at line 451 of file disarray.h.