TiledArray::detail::dist_subarray_vec< Array > Class Template Reference
Inheritance diagram for TiledArray::detail::dist_subarray_vec< Array >:

Collaboration diagram for TiledArray::detail::dist_subarray_vec< Array >:

Documentation
template<typename Array>
class TiledArray::detail::dist_subarray_vec< Array >
global view of a tilewise-round-robin distributed std::vector of Arrays
Definition at line 224 of file vector_of_arrays.h.
Public Types | |
| using | Tile = typename Array::value_type |
| using | Policy = typename Array::policy_type |
Public Member Functions | |
| dist_subarray_vec (madness::World &world, const std::vector< Array > &array, const std::size_t rank) | |
| virtual | ~dist_subarray_vec () |
| template<typename Index > | |
| madness::Future< Tile > | get_tile (int r, Index &i) |
| const std::vector< Array > & | array_accessor () const |
| unsigned long | size () const |
Member Typedef Documentation
◆ Policy
template<typename Array >
| using TiledArray::detail::dist_subarray_vec< Array >::Policy = typename Array::policy_type |
Definition at line 228 of file vector_of_arrays.h.
◆ Tile
template<typename Array >
| using TiledArray::detail::dist_subarray_vec< Array >::Tile = typename Array::value_type |
Definition at line 227 of file vector_of_arrays.h.
Constructor & Destructor Documentation
◆ dist_subarray_vec()
template<typename Array >
|
inline |
- Parameters
-
world world object that contains all the worlds which arrays in split_arraylive inarray possibly distributed vector of arrays rank total number of Arrays (sum of arrays per process for each processor)
Definition at line 235 of file vector_of_arrays.h.
◆ ~dist_subarray_vec()
template<typename Array >
|
inlinevirtual |
Definition at line 243 of file vector_of_arrays.h.
Member Function Documentation
◆ array_accessor()
template<typename Array >
|
inline |
- Returns
- Accessor to
split_array
Definition at line 255 of file vector_of_arrays.h.
Here is the caller graph for this function:

◆ get_tile()
template<typename Array >
template<typename Index >
|
inline |
Tile accessor for distributed arrays
- Parameters
-
r index of the requested array in split_arrayi tile index for the rarray insplit_array
- Returns
i-th tile of ther-th array insplit_array
Definition at line 250 of file vector_of_arrays.h.
◆ size()
template<typename Array >
|
inline |
- Returns
- number of Array in
split_array
Definition at line 258 of file vector_of_arrays.h.
The documentation for this class was generated from the following file:
- TiledArray/conversions/vector_of_arrays.h
1.8.20