#include <macrotaskpartitioner.h>
|
| | Batch_1D () |
| | Batch_1D (const long &begin, const long &end) |
| | Batch_1D (const Slice &s) |
| template<typename tupleT, std::size_t appearance> |
| tupleT | copy_batch (const tupleT &arg) const |
| | select the relevant vector elements from the argument tuple
|
| template<typename vecT> |
| vecT | copy_batch (const vecT v) const |
| | given vector v, return those vector elements inside this batch
|
| template<typename vecT> |
| vecT | insert_batch (vecT v, const vecT &v_batch) const |
| | given vector v, copy vector elements of v_batch into vector
|
| bool | is_full_size () const |
| bool | operator== (const Batch_1D &other) const |
| long | size () const |
|
| long | begin =0 |
| long | end =-1 |
| | first and first past last index [begin,end)
|
◆ Batch_1D() [1/3]
| madness::Batch_1D::Batch_1D |
( |
| ) |
|
|
inline |
◆ Batch_1D() [2/3]
| madness::Batch_1D::Batch_1D |
( |
const Slice & | s | ) |
|
|
inline |
◆ Batch_1D() [3/3]
| madness::Batch_1D::Batch_1D |
( |
const long & | begin, |
|
|
const long & | end ) |
|
inline |
◆ copy_batch() [1/2]
template<typename tupleT, std::size_t appearance>
| tupleT madness::Batch_1D::copy_batch |
( |
const tupleT & | arg | ) |
const |
|
inline |
◆ copy_batch() [2/2]
template<typename vecT>
| vecT madness::Batch_1D::copy_batch |
( |
const vecT | v | ) |
const |
|
inline |
given vector v, return those vector elements inside this batch
References begin, end, and v.
◆ insert_batch()
template<typename vecT>
| vecT madness::Batch_1D::insert_batch |
( |
vecT | v, |
|
|
const vecT & | v_batch ) const |
|
inline |
given vector v, copy vector elements of v_batch into vector
References begin, and v.
Referenced by test_batch_1D().
◆ is_full_size()
| bool madness::Batch_1D::is_full_size |
( |
| ) |
const |
|
inline |
◆ operator==()
| bool madness::Batch_1D::operator== |
( |
const Batch_1D & | other | ) |
const |
|
inline |
◆ size()
| long madness::Batch_1D::size |
( |
| ) |
const |
|
inline |
◆ MacroTaskPartitioner
| friend class MacroTaskPartitioner |
|
friend |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Batch_1D & | batch ) |
|
friend |
◆ begin
| long madness::Batch_1D::begin =0 |
Referenced by Batch_1D(), Batch_1D(), copy_batch(), madness::exchange_batch_record_key(), insert_batch(), is_full_size(), operator<<, operator==(), size(), and madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::store_batches().
◆ end
| long madness::Batch_1D::end =-1 |
first and first past last index [begin,end)
Referenced by Batch_1D(), Batch_1D(), copy_batch(), madness::exchange_batch_record_key(), is_full_size(), operator<<, operator==(), size(), and madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::store_batches().
The documentation for this class was generated from the following file: