#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) |
std::function< void(CyclicVecInt< 3, 2 >, size_t &, size_t &)> | getAddressor () const |
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 |
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.
|
inlineexplicit |
Definition at line 133 of file blockmem_gridmap.h.
|
inline |
Definition at line 137 of file blockmem_gridmap.h.
|
inlineprotected |
Definition at line 49 of file blockmem_gridmap.h.
|
inline |
Definition at line 84 of file blockmem_gridmap.h.
|
inline |
Definition at line 91 of file blockmem_gridmap.h.
|
inline |
Definition at line 69 of file blockmem_gridmap.h.
|
inline |
Definition at line 173 of file blockmem_gridmap.h.
|
inline |
Definition at line 140 of file blockmem_gridmap.h.
|
inline |
Definition at line 151 of file blockmem_gridmap.h.
|
inline |
Definition at line 99 of file blockmem_gridmap.h.
|
inline |
Definition at line 80 of file blockmem_gridmap.h.
|
inline |
Definition at line 76 of file blockmem_gridmap.h.
|
inline |
Definition at line 159 of file blockmem_gridmap.h.
|
protected |
Definition at line 46 of file blockmem_gridmap.h.
|
protected |
Definition at line 45 of file blockmem_gridmap.h.
|
protected |
Definition at line 43 of file blockmem_gridmap.h.
|
protected |
Definition at line 41 of file blockmem_gridmap.h.
|
protected |
Definition at line 47 of file blockmem_gridmap.h.
|
protected |
Definition at line 44 of file blockmem_gridmap.h.
|
protected |
Definition at line 42 of file blockmem_gridmap.h.