class that store the information of the grid like number of point on each direction and define the index linearization by stride
More...
|
| Box< N, size_t > | getBox () const |
| | Return the box enclosing the grid. More...
|
| |
| const Box< N, size_t > | getBoxKey () const |
| | Return the box enclosing the grid. More...
|
| |
| void | setDimensions (const size_t(&dims)[N]) |
| | Reset the dimension of the grid. More...
|
| |
| | grid_sm () |
| | Default constructor. More...
|
| |
| template<typename S > |
| __device__ __host__ | grid_sm (const grid_sm< N, S > &g) |
| | construct a grid from another grid More...
|
| |
| __device__ __host__ | grid_sm (const grid_sm< N, T > &g) |
| | copy constructor More...
|
| |
|
size_t | totalSize (const size_t sz) |
| |
|
__device__ __host__ size_t | totalSize (const size_t(&sz)[N]) |
| |
| | grid_sm (const size_t &sz) |
| | Construct a grid of a specified size. More...
|
| |
| __device__ __host__ | grid_sm (const size_t(&sz)[N]) |
| | Construct a grid of a specified size. More...
|
| |
| template<typename check = NoCheck, typename ids_type > |
| mem_id | LinId (const grid_key_dx< N, ids_type > &gk, const signed char sum_id[N]) const |
| | Linearization of the grid_key_dx with a specified shift. More...
|
| |
| template<typename check = NoCheck, typename ids_type > |
| mem_id | LinId (const grid_key_dx< N, ids_type > &gk, const signed char sum_id[N], const size_t(&bc)[N]) const |
| | Linearization of the grid_key_dx with a specified shift. More...
|
| |
| mem_id | LinIdPtr (size_t *k) const |
| | Linearization of the set of indexes. More...
|
| |
| __device__ __host__ mem_id | LinId (const size_t(&k)[N]) const |
| | Linearization of the grid_key_dx. More...
|
| |
| template<typename ids_type > |
| __device__ __host__ mem_id | LinId (const grid_key_dx< N, ids_type > &gk) const |
| | Linearization of the grid_key_dx. More...
|
| |
| template<typename a , typename ... lT, typename enabler = typename std::enable_if<sizeof...(lT) == N-1>::type> |
| __device__ __host__ mem_id | Lin (a v, lT...t) const |
| | linearize an arbitrary set of index More...
|
| |
| __device__ __host__ grid_key_dx< N > | InvLinId (mem_id id) const |
| | Construct. More...
|
| |
| mem_id | LinId (mem_id *id) const |
| | Linearization of an array of mem_id (long int) More...
|
| |
|
__device__ __host__ | ~grid_sm () |
| | Destructor.
|
| |
| __device__ __host__ size_t | size () const |
| | Return the size of the grid. More...
|
| |
| __device__ __host__ grid_sm< N, T > & | operator= (const grid_sm< N, T > &g) |
| | Copy the grid from another grid. More...
|
| |
| bool | operator== (const grid_sm< N, T > &g) |
| | Check if the two grid_sm are the same. More...
|
| |
| bool | operator!= (const grid_sm< N, T > &g) |
| | Check if the two grid_sm are the same. More...
|
| |
| __device__ __host__ size_t | size_s (unsigned int i) const |
| |
| __device__ __host__ size_t | size (unsigned int i) const |
| |
| __device__ __host__ const size_t(& | getSize () const)[N] |
| | Return the size of the grid as an array. More...
|
| |
| __device__ __host__ void | getSize (size_t(&size)[N]) const |
| | Returns the size of the grid in the passed array. More...
|
| |
| grid_key_dx_iterator_sub< N > | getSubIterator (const grid_key_dx< N > &start, const grid_key_dx< N > &stop) const |
| | Return a sub-grid iterator. More...
|
| |
| void | swap (grid_sm< N, T > &g) |
| | swap the grid_sm informations More...
|
| |
| std::string | toString () const |
| | Produce a string from the object. More...
|
| |
template<unsigned int N, typename T>
class grid_zm< N, T >
class that store the information of the grid like number of point on each direction and define the index linearization by stride
- Parameters
-
| N | dimensionality |
| T | type of object is going to store the grid |
Definition at line 21 of file grid_zm.hpp.