Rheolef  7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
hack_array< T, distributed, A >

Detailed Description

template<class T, class A>
class rheolef::hack_array< T, distributed, A >

Definition at line 493 of file hack_array.h.

Inheritance diagram for hack_array< T, distributed, A >:

Public Types

typedef hack_array_mpi_rep< T, Arep
typedef smart_pointer< repbase
typedef distributed memory_type
typedef rep::size_type size_type
typedef rep::value_type value_type
typedef rep::reference reference
typedef rep::dis_reference dis_reference
typedef rep::iterator iterator
typedef rep::parameter_type parameter_type
typedef rep::const_reference const_reference
typedef rep::const_iterator const_iterator
typedef rep::scatter_map_type scatter_map_type
Public Types inherited from smart_pointer< hack_array_mpi_rep< T, A > >
typedef T handled_type
typedef base::internal internal

Public Member Functions

 hack_array (const A &alloc=A())
 hack_array (const distributor &ownership, const parameter_type &param, const A &alloc=A())
void resize (const distributor &ownership, const parameter_type &param)
A get_allocator () const
size_type size () const
size_type dis_size () const
const distributorownership () const
const communicatorcomm () const
reference operator[] (size_type i)
const_reference operator[] (size_type i) const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
template<class Set, class Map>
void append_dis_entry (const Set &ext_idx_set, Map &ext_idx_map) const
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_reference dis_at (size_type dis_i) const
const scatter_map_typeget_dis_map_entries () const
void update_dis_entries () const
dis_reference dis_entry (size_type dis_i)
void dis_entry_assembly ()
template<class SetOp>
void dis_entry_assembly (SetOp my_set_op)
template<class SetOp>
void dis_entry_assembly_begin (SetOp my_set_op)
template<class SetOp>
void dis_entry_assembly_end (SetOp my_set_op)
template<class RepSize>
void repartition (const RepSize &partition, hack_array< T, distributed > &new_array, RepSize &old_numbering, RepSize &new_numbering) const
odiststreamput_values (odiststream &ops) const
idiststreamget_values (idiststream &ips)
template<class GetFunction>
idiststreamget_values (idiststream &ips, GetFunction get_element)
template<class PutFunction>
odiststreamput_values (odiststream &ops, PutFunction put_element) const
template<class PutFunction, class Permutation>
odiststreampermuted_put_values (odiststream &ops, const Permutation &perm, PutFunction put_element) const
Public Member Functions inherited from smart_pointer< hack_array_mpi_rep< T, A > >
 smart_pointer (T *p=0)
smart_pointer< T > & operator= (const smart_pointer< T > &x)
 ~smart_pointer ()
Public Member Functions inherited from smart_pointer_base< T, details::constructor_copy< T > >
 smart_pointer_base (T *p=0)
smart_pointer_base< T, details::constructor_copy< T > > & operator= (const smart_pointer_base< T, details::constructor_copy< T > > &)
 ~smart_pointer_base ()
const Tpointer () const
const Tdata () const
const Toperator-> () const
const Toperator* () const
int reference_counter () const
counter * get_count () const

Member Typedef Documentation

◆ rep

template<class T, class A>
typedef hack_array_mpi_rep<T,A> rep

Definition at line 498 of file hack_array.h.

◆ base

template<class T, class A>
typedef smart_pointer<rep> base

Definition at line 499 of file hack_array.h.

◆ memory_type

template<class T, class A>
typedef distributed memory_type

Definition at line 501 of file hack_array.h.

◆ size_type

template<class T, class A>
typedef rep::size_type size_type

Definition at line 502 of file hack_array.h.

◆ value_type

template<class T, class A>
typedef rep::value_type value_type

Definition at line 503 of file hack_array.h.

◆ reference

template<class T, class A>
typedef rep::reference reference

Definition at line 504 of file hack_array.h.

◆ dis_reference

template<class T, class A>
typedef rep::dis_reference dis_reference

Definition at line 505 of file hack_array.h.

◆ iterator

template<class T, class A>
typedef rep::iterator iterator

Definition at line 506 of file hack_array.h.

◆ parameter_type

template<class T, class A>
typedef rep::parameter_type parameter_type

Definition at line 507 of file hack_array.h.

◆ const_reference

template<class T, class A>
typedef rep::const_reference const_reference

Definition at line 508 of file hack_array.h.

◆ const_iterator

template<class T, class A>
typedef rep::const_iterator const_iterator

Definition at line 509 of file hack_array.h.

◆ scatter_map_type

template<class T, class A>
typedef rep::scatter_map_type scatter_map_type

Definition at line 510 of file hack_array.h.

Constructor & Destructor Documentation

◆ hack_array() [1/2]

template<class T, class A>
hack_array ( const A & alloc = A())

Definition at line 615 of file hack_array.h.

◆ hack_array() [2/2]

template<class T, class A>
hack_array ( const distributor & ownership,
const parameter_type & param,
const A & alloc = A() )

Definition at line 622 of file hack_array.h.

Member Function Documentation

◆ resize()

template<class T, class A>
void resize ( const distributor & ownership,
const parameter_type & param )

Definition at line 632 of file hack_array.h.

◆ get_allocator()

template<class T, class A>
A get_allocator ( ) const

Definition at line 520 of file hack_array.h.

◆ size()

template<class T, class A>
size_type size ( ) const

Definition at line 521 of file hack_array.h.

◆ dis_size()

template<class T, class A>
size_type dis_size ( ) const

Definition at line 522 of file hack_array.h.

◆ ownership()

template<class T, class A>
const distributor & ownership ( ) const

Definition at line 523 of file hack_array.h.

◆ comm()

template<class T, class A>
const communicator & comm ( ) const

Definition at line 524 of file hack_array.h.

◆ operator[]() [1/2]

template<class T, class A>
reference operator[] ( size_type i)

Definition at line 526 of file hack_array.h.

◆ operator[]() [2/2]

template<class T, class A>
const_reference operator[] ( size_type i) const

Definition at line 527 of file hack_array.h.

◆ begin() [1/2]

template<class T, class A>
iterator begin ( )

Definition at line 529 of file hack_array.h.

◆ begin() [2/2]

template<class T, class A>
const_iterator begin ( ) const

Definition at line 530 of file hack_array.h.

◆ end() [1/2]

template<class T, class A>
iterator end ( )

Definition at line 531 of file hack_array.h.

◆ end() [2/2]

template<class T, class A>
const_iterator end ( ) const

Definition at line 532 of file hack_array.h.

◆ append_dis_entry()

template<class T, class A>
template<class Set, class Map>
void append_dis_entry ( const Set & ext_idx_set,
Map & ext_idx_map ) const

Definition at line 537 of file hack_array.h.

◆ get_dis_entry()

template<class T, class A>
template<class Set, class Map>
void get_dis_entry ( const Set & ext_idx_set,
Map & ext_idx_map ) const

Definition at line 540 of file hack_array.h.

◆ append_dis_indexes()

template<class T, class A>
template<class Set>
void append_dis_indexes ( const Set & ext_idx_set) const

Definition at line 543 of file hack_array.h.

◆ set_dis_indexes()

template<class T, class A>
template<class Set>
void set_dis_indexes ( const Set & ext_idx_set)

Definition at line 546 of file hack_array.h.

◆ dis_at()

template<class T, class A>
const_reference dis_at ( size_type dis_i) const

Definition at line 548 of file hack_array.h.

◆ get_dis_map_entries()

template<class T, class A>
const scatter_map_type & get_dis_map_entries ( ) const

Definition at line 551 of file hack_array.h.

◆ update_dis_entries()

template<class T, class A>
void update_dis_entries ( ) const

Definition at line 553 of file hack_array.h.

◆ dis_entry()

template<class T, class A>
dis_reference dis_entry ( size_type dis_i)

Definition at line 557 of file hack_array.h.

◆ dis_entry_assembly() [1/2]

template<class T, class A>
void dis_entry_assembly ( )

Definition at line 559 of file hack_array.h.

◆ dis_entry_assembly() [2/2]

template<class T, class A>
template<class SetOp>
void dis_entry_assembly ( SetOp my_set_op)

Definition at line 562 of file hack_array.h.

◆ dis_entry_assembly_begin()

template<class T, class A>
template<class SetOp>
void dis_entry_assembly_begin ( SetOp my_set_op)

Definition at line 564 of file hack_array.h.

◆ dis_entry_assembly_end()

template<class T, class A>
template<class SetOp>
void dis_entry_assembly_end ( SetOp my_set_op)

Definition at line 566 of file hack_array.h.

◆ repartition()

template<class T, class A>
template<class RepSize>
void repartition ( const RepSize & partition,
hack_array< T, distributed > & new_array,
RepSize & old_numbering,
RepSize & new_numbering ) const

Definition at line 571 of file hack_array.h.

◆ put_values() [1/2]

template<class T, class A>
odiststream & put_values ( odiststream & ops) const

Definition at line 592 of file hack_array.h.

◆ get_values() [1/2]

template<class T, class A>
idiststream & get_values ( idiststream & ips)

Definition at line 593 of file hack_array.h.

◆ get_values() [2/2]

template<class T, class A>
template<class GetFunction>
idiststream & get_values ( idiststream & ips,
GetFunction get_element )

Definition at line 599 of file hack_array.h.

◆ put_values() [2/2]

template<class T, class A>
template<class PutFunction>
odiststream & put_values ( odiststream & ops,
PutFunction put_element ) const

Definition at line 602 of file hack_array.h.

◆ permuted_put_values()

template<class T, class A>
template<class PutFunction, class Permutation>
odiststream & permuted_put_values ( odiststream & ops,
const Permutation & perm,
PutFunction put_element ) const

Definition at line 606 of file hack_array.h.


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