grid_key_dx is the key to access any element in the grid More...
grid_key_dx is the key to access any element in the grid
grid_key_dx is the key to access any element in the grid
| dim | dimensionality of the grid | 
| T | type of the space float, double, complex, ... | 
Definition at line 22 of file space_key.hpp.
#include <space_key.hpp>
Public Member Functions | |
| space_key_dx () | |
| Constructor.  | |
| space_key_dx (T(&k)[dim]) | |
| Constructor from buffer.  | |
| space_key_dx (const T(&k)[dim]) | |
| Constructor from buffer.  | |
| space_key_dx (const T v, const T...t) | |
| Construct a grid key from a list of numbers.  | |
| void | zero () | 
| Set to zero the key.  | |
| void | invalid () | 
| Set to invalid the key.  | |
| template<unsigned int dim_t> | |
| bool | operator== (space_key_dx< dim_t, T > &key_t) | 
| template<typename a , typename... T> | |
| void | set (a v, T...t) | 
| set the grid key from a list of numbers  | |
| mem_id | value (size_t i) const | 
| Get the i index.  More... | |
| mem_id | get (size_t i) const | 
| Get the i index.  More... | |
| void | set_d (size_t i, mem_id id) | 
| Set the i index.  More... | |
Data Fields | |
| mem_id | k [dim] | 
| structure that store all the index  | |
Private Member Functions | |
| template<typename a , typename... T> | |
| void | invert_assign (a v, T...t) | 
| Recursively invert the assignment.  More... | |
| template<typename a , typename... T> | |
| void | invert_assign (a v) | 
| void | invert_assign () | 
      
  | 
  inline | 
Get the i index.
| i | index to get | 
Definition at line 127 of file space_key.hpp.
      
  | 
  inlineprivate | 
Recursively invert the assignment.
Recursively invert the assignment at compile-time
Definition at line 161 of file space_key.hpp.
      
  | 
  inline | 
Set the i index.
Set the i index
| i | index to set | 
| id | value to set | 
Definition at line 140 of file space_key.hpp.
      
  | 
  inline | 
Get the i index.
| i | index to get | 
Definition at line 114 of file space_key.hpp.