Rheolef
7.1
an efficient C++ finite element environment
|
see the distributor
page for the full documentation
More...
Public Types | |
typedef std::allocator< int >::size_type | size_type |
typedef Vector< size_type > | _base |
typedef _base::iterator | iterator |
typedef _base::const_iterator | const_iterator |
typedef int | tag_type |
typedef communicator | communicator_type |
![]() | |
typedef vector_rep< std::allocator< int >::size_type > | DATA |
typedef DATA::iterator | iterator |
typedef DATA::const_iterator | const_iterator |
typedef DATA::pointer | pointer |
typedef DATA::reference | reference |
typedef DATA::const_reference | const_reference |
typedef DATA::size_type | size_type |
typedef DATA::difference_type | difference_type |
typedef std::allocator< int >::size_type | value_type |
typedef DATA::reverse_iterator | reverse_iterator |
typedef DATA::const_reverse_iterator | const_reverse_iterator |
![]() | |
typedef vector_rep< std::allocator< int >::size_type > | handled_type |
typedef base::internal | internal |
Static Public Member Functions | |
static tag_type | get_new_tag () |
returns a new tag More... | |
Static Public Attributes | |
static const size_type | decide = size_type(-1) |
Protected Attributes | |
communicator_type | _comm |
see the distributor
page for the full documentation
Definition at line 62 of file distributor.h.
Definition at line 67 of file distributor.h.
Definition at line 68 of file distributor.h.
typedef _base::iterator iterator |
Definition at line 69 of file distributor.h.
typedef _base::const_iterator const_iterator |
Definition at line 70 of file distributor.h.
typedef int tag_type |
Definition at line 71 of file distributor.h.
typedef communicator communicator_type |
Definition at line 72 of file distributor.h.
distributor | ( | size_type | dis_size = 0 , |
const communicator_type & | c = communicator_type() , |
||
size_type | loc_size = decide |
||
) |
Definition at line 88 of file distributor.cc.
distributor | ( | const distributor & | ownership | ) |
Definition at line 97 of file distributor.cc.
~distributor | ( | ) |
Definition at line 102 of file distributor.cc.
void resize | ( | size_type | dis_size = 0 , |
const communicator_type & | c = communicator_type() , |
||
size_type | loc_size = decide |
||
) |
Definition at line 30 of file distributor.cc.
const distributor::communicator_type & comm | ( | ) | const |
Definition at line 145 of file distributor.h.
distributor::size_type dis_size | ( | ) | const |
global and local sizes
Definition at line 207 of file distributor.h.
distributor::size_type process | ( | ) | const |
current process id
Definition at line 179 of file distributor.h.
distributor::size_type n_process | ( | ) | const |
number of processes
Definition at line 169 of file distributor.h.
distributor::size_type find_owner | ( | size_type | dis_i | ) | const |
find iproc associated to a global index dis_i: CPU=log(nproc)
Definition at line 106 of file distributor.cc.
distributor::size_type first_index | ( | size_type | iproc | ) | const |
global index range and local size owned by ip-th process
Definition at line 151 of file distributor.h.
distributor::size_type last_index | ( | size_type | iproc | ) | const |
Definition at line 157 of file distributor.h.
distributor::size_type size | ( | size_type | iproc | ) | const |
Definition at line 163 of file distributor.h.
distributor::size_type first_index | ( | ) | const |
global index range and local size owned by current process
Definition at line 189 of file distributor.h.
distributor::size_type last_index | ( | ) | const |
Definition at line 195 of file distributor.h.
distributor::size_type size | ( | ) | const |
Definition at line 201 of file distributor.h.
true when dis_i in [first_index(iproc):last_index(iproc)[
Definition at line 213 of file distributor.h.
bool is_owned | ( | size_type | dis_i | ) | const |
Definition at line 219 of file distributor.h.
|
static |
returns a new tag
Definition at line 133 of file distributor.cc.
bool operator== | ( | const distributor & | x | ) | const |
Definition at line 231 of file distributor.h.
bool operator!= | ( | const distributor & | x | ) | const |
Definition at line 225 of file distributor.h.
Definition at line 76 of file distributor.h.
|
protected |
Definition at line 137 of file distributor.h.