disarray_rep< T, sequential, A >
Inheritance diagram for disarray_rep< T, sequential, A >:

## Public Types

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 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 Attributes

distributor | _ownership

## Detailed Description

### template<class T, class A>
class rheolef::disarray_rep< T, sequential, A >

Definition at line 218 of file disarray.h.

## Member Typedef Documentation

## value_type

typedef T value_type

Definition at line 220 of file disarray.h.

## allocator_type

typedef A allocator_type

Definition at line 221 of file disarray.h.

## difference_type

typedef A::difference_type difference_type

Definition at line 222 of file disarray.h.

## base

typedef std::vector<T> base

Definition at line 223 of file disarray.h.

## size_type

typedef base::size_type size_type

Definition at line 224 of file disarray.h.

## iterator

typedef base::iterator iterator

Definition at line 225 of file disarray.h.

## const_iterator

typedef base::const_iterator const_iterator

Definition at line 226 of file disarray.h.

## const_reference

typedef base::const_reference const_reference

Definition at line 227 of file disarray.h.

## reference

typedef base::reference reference

Definition at line 228 of file disarray.h.

## dis_reference

typedef reference dis_reference

Definition at line 229 of file disarray.h.

## communicator_type

typedef distributor::communicator_type communicator_type

Definition at line 230 of file disarray.h.

## memory_type

typedef sequential memory_type

Definition at line 231 of file disarray.h.

## Constructor & Destructor Documentation

## disarray_rep() [1/4]

disarray_rep | ( | const A & | alloc = `A()` | ) |

explicit

Definition at line 28 of file disarray_seq.icc.

## disarray_rep() [2/4]

disarray_rep | ( | const distributor & | ownership,
|  | const T & | init_val = `T()`,
|  | const A & | alloc = `A()`
| ) |  |

Definition at line 40 of file disarray_seq.icc.

## disarray_rep() [3/4]

disarray_rep | ( | size_type | loc_size = `0`,
|  | const T & | init_val = `T()`,
|  | const A & | alloc = `A()`
| ) |  |

Definition at line 34 of file disarray_seq.icc.

## disarray_rep() [4/4]

disarray_rep | ( | const disarray_rep< T, sequential, A > & | x | ) |

Definition at line 46 of file disarray_seq.icc.

## Member Function Documentation

## resize() [1/2]

void resize | ( | const distributor & | ownership,
|  | const T & | init_val = `T()`
| ) |  |

Definition at line 54 of file disarray_seq.icc.

## resize() [2/2]

void resize | ( | size_type | loc_size = `0`,
|  | const T & | init_val = `T()`
| ) |  |

Definition at line 63 of file disarray_seq.icc.

## get_allocator()

A get_allocator | ( |  | ) | const

Definition at line 240 of file disarray.h.

## size()

size_type size | ( |  | ) | const

Definition at line 241 of file disarray.h.

## begin() [1/2]

iterator begin | ( |  | ) |

Definition at line 242 of file disarray.h.

## begin() [2/2]

const_iterator begin | ( |  | ) | const

Definition at line 243 of file disarray.h.

## end() [1/2]

iterator end | ( |  | ) |

Definition at line 244 of file disarray.h.

## end() [2/2]

const_iterator end | ( |  | ) | const

Definition at line 245 of file disarray.h.

## ownership()

const distributor& ownership | ( |  | ) | const

Definition at line 246 of file disarray.h.

## operator[]() [1/2]

reference operator[] | ( | size_type | i | ) |

Definition at line 248 of file disarray.h.

## operator[]() [2/2]

const_reference operator[] | ( | size_type | i | ) | const

Definition at line 249 of file disarray.h.

## dis_at()

const_reference dis_at | ( | size_type | dis_i | ) | const

Definition at line 250 of file disarray.h.

## dis_size()

size_type dis_size | ( |  | ) | const

Definition at line 252 of file disarray.h.

## first_index()

size_type first_index | ( |  | ) | const

Definition at line 253 of file disarray.h.

## last_index()

size_type last_index | ( |  | ) | const

Definition at line 254 of file disarray.h.

## dis_entry()

reference dis_entry | ( | size_type | dis_i | ) |

Definition at line 255 of file disarray.h.

## get_dis_indexes()

void get_dis_indexes | ( | std::set< size_type > & | ext_idx_set | ) | const

Definition at line 134 of file disarray_seq.icc.

## reset_dis_indexes()

void reset_dis_indexes | ( |  | ) | const

Definition at line 257 of file disarray.h.

## dis_entry_assembly_begin()

void dis_entry_assembly_begin | ( | SetOp | = `SetOp()` | ) |

Definition at line 259 of file disarray.h.

## dis_entry_assembly_end()

void dis_entry_assembly_end | ( | SetOp | = `SetOp()` | ) |

Definition at line 261 of file disarray.h.

## repartition()

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

Definition at line 262 of file disarray.h.

## reverse_permutation()

void reverse_permutation | ( | disarray_rep< size_type, sequential, A2 > & | inew2dis_iold | ) | const

Definition at line 122 of file disarray_seq.icc.

## get_values() [1/2]

idiststream & get_values | ( | idiststream & | s | ) |

Definition at line 81 of file disarray_seq.icc.

## put_values() [1/2]

odiststream & put_values | ( | odiststream & | s | ) | const

Definition at line 99 of file disarray_seq.icc.

## put_matlab()

odiststream & put_matlab | ( | odiststream & | s | ) | const

Definition at line 105 of file disarray_seq.icc.

## get_values() [2/2]

idiststream & get_values | ( | idiststream & | ips,
|  | GetFunction | get_element
| ) |  |

Definition at line 73 of file disarray_seq.icc.

## put_values() [2/2]

odiststream & put_values | ( | odiststream & | ops,
|  | PutFunction | put_element
| ) |  | const

Definition at line 88 of file disarray_seq.icc.

## dump()

void dump | ( | std::string | name | ) | const

Definition at line 113 of file disarray_seq.icc.

## Member Data Documentation

## _ownership

distributor _ownership

protected

Definition at line 282 of file disarray.h.

The documentation for this class was generated from the following files:

- /build/rheolef-FQTnje/rheolef-7.1/linalg/lib/disarray.h
- /build/rheolef-FQTnje/rheolef-7.1/linalg/lib/disarray_seq.icc