#include <blockmem_gridmap.h>
Public Member Functions | |
| BlockMemGridmap (const CyclicVecInt< DIM, NONCYCLIC > &size_) | |
| BlockMemGridmap () | |
| void | clear (const T zero) |
| void | clear_positive (const T zero) |
| const BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH > & | operator= (const BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH > &gm) |
| T & | operator[] (const CyclicVecInt< DIM, NONCYCLIC > &pos) |
| const T | operator[] (const CyclicVecInt< DIM, NONCYCLIC > &pos) const |
| void | reset (const CyclicVecInt< DIM, NONCYCLIC > &size) |
| size_t | ser_size () const |
| const CyclicVecInt< DIM, NONCYCLIC > & | size () const |
| bool | validate (const CyclicVecInt< DIM, NONCYCLIC > &pos, const int tolerance=0) const |
Public Attributes | |
| std::function< void(CyclicVecInt < 3, 2 >, size_t &, size_t &)> | getAddressor () const |
Protected Member Functions | |
| void | block_addr (const CyclicVecInt< DIM, NONCYCLIC > &pos, size_t &baddr, size_t &addr) const |
Protected Attributes | |
| size_t | block_num_ |
| size_t | block_ser_size_ |
| CyclicVecInt< DIM, NONCYCLIC > | block_size_ |
| std::unique_ptr< T[]> | c_ |
| T | dummy_ |
| size_t | ser_size_ |
| CyclicVecInt< DIM, NONCYCLIC > | size_ |
Definition at line 38 of file blockmem_gridmap.h.
| BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::BlockMemGridmap | ( | const CyclicVecInt< DIM, NONCYCLIC > & | size_ | ) | [inline, explicit] |
Definition at line 133 of file blockmem_gridmap.h.
| BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::BlockMemGridmap | ( | ) | [inline] |
Definition at line 137 of file blockmem_gridmap.h.
| void BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::block_addr | ( | const CyclicVecInt< DIM, NONCYCLIC > & | pos, |
| size_t & | baddr, | ||
| size_t & | addr | ||
| ) | const [inline, protected] |
Definition at line 49 of file blockmem_gridmap.h.
| void BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::clear | ( | const T | zero | ) | [inline] |
Definition at line 84 of file blockmem_gridmap.h.
| void BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::clear_positive | ( | const T | zero | ) | [inline] |
Definition at line 91 of file blockmem_gridmap.h.
| const BlockMemGridmap<T, DIM, NONCYCLIC, BLOCK_WIDTH>& BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::operator= | ( | const BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH > & | gm | ) | [inline] |
Definition at line 173 of file blockmem_gridmap.h.
| T& BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::operator[] | ( | const CyclicVecInt< DIM, NONCYCLIC > & | pos | ) | [inline] |
Definition at line 140 of file blockmem_gridmap.h.
| const T BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::operator[] | ( | const CyclicVecInt< DIM, NONCYCLIC > & | pos | ) | const [inline] |
Definition at line 151 of file blockmem_gridmap.h.
| void BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::reset | ( | const CyclicVecInt< DIM, NONCYCLIC > & | size | ) | [inline] |
Definition at line 99 of file blockmem_gridmap.h.
| size_t BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::ser_size | ( | ) | const [inline] |
Definition at line 80 of file blockmem_gridmap.h.
| const CyclicVecInt<DIM, NONCYCLIC>& BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::size | ( | ) | const [inline] |
Definition at line 76 of file blockmem_gridmap.h.
| bool BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::validate | ( | const CyclicVecInt< DIM, NONCYCLIC > & | pos, |
| const int | tolerance = 0 |
||
| ) | const [inline] |
Definition at line 159 of file blockmem_gridmap.h.
size_t BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::block_num_ [protected] |
Definition at line 46 of file blockmem_gridmap.h.
size_t BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::block_ser_size_ [protected] |
Definition at line 45 of file blockmem_gridmap.h.
CyclicVecInt<DIM, NONCYCLIC> BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::block_size_ [protected] |
Definition at line 43 of file blockmem_gridmap.h.
std::unique_ptr<T[]> BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::c_ [protected] |
Definition at line 41 of file blockmem_gridmap.h.
T BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::dummy_ [protected] |
Definition at line 47 of file blockmem_gridmap.h.
std::function<void(CyclicVecInt<3, 2>, size_t&, size_t&)> BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::getAddressor() const [inline] |
Definition at line 69 of file blockmem_gridmap.h.
size_t BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::ser_size_ [protected] |
Definition at line 44 of file blockmem_gridmap.h.
CyclicVecInt<DIM, NONCYCLIC> BlockMemGridmap< T, DIM, NONCYCLIC, BLOCK_WIDTH >::size_ [protected] |
Definition at line 42 of file blockmem_gridmap.h.