![]()  | 
  
    PeriDyno 1.2.1
    
   | 
 
#include <GridHash.h>

Public Types | |
| typedef TDataType::Real | Real | 
| typedef TDataType::Coord | Coord | 
Public Member Functions | |
| GridHash () | |
| ~GridHash () | |
| void | setSpace (Real _h, Coord _lo, Coord _hi) | 
| void | construct (const DArray< Coord > &pos) | 
| void | clear () | 
| void | release () | 
| GPU_FUNC int | getIndex (int i, int j, int k) | 
| GPU_FUNC int | getIndex (Coord pos) | 
| GPU_FUNC int3 | getIndex3 (Coord pos) | 
| GPU_FUNC int | getCounter (int gId) | 
| GPU_FUNC int | getParticleId (int gId, int n) | 
Public Attributes | |
| int | num | 
| int | nx | 
| int | ny | 
| int | nz | 
| int | particle_num = 0 | 
| Real | ds | 
| Coord | lo | 
| Coord | hi | 
| int * | ids = nullptr | 
| int * | counter = nullptr | 
| int * | index = nullptr | 
| Scan< int > * | m_scan = nullptr | 
| Reduction< int > * | m_reduce = nullptr | 
Definition at line 12 of file GridHash.h.
| typedef TDataType::Coord dyno::GridHash< TDataType >::Coord | 
Definition at line 16 of file GridHash.h.
| typedef TDataType::Real dyno::GridHash< TDataType >::Real | 
Definition at line 15 of file GridHash.h.
| dyno::GridHash< TDataType >::GridHash | ( | ) | 
| dyno::GridHash< TDataType >::~GridHash | ( | ) | 
| void dyno::GridHash< TDataType >::clear | ( | ) | 
| void dyno::GridHash< TDataType >::construct | ( | const DArray< Coord > & | pos | ) | 
      
  | 
  inline | 
Definition at line 54 of file GridHash.h.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 46 of file GridHash.h.
      
  | 
  inline | 
Definition at line 62 of file GridHash.h.
| void dyno::GridHash< TDataType >::release | ( | ) | 
| void dyno::GridHash< TDataType >::setSpace | ( | Real | _h, | 
| Coord | _lo, | ||
| Coord | _hi ) | 
| int* dyno::GridHash< TDataType >::counter = nullptr | 
Definition at line 80 of file GridHash.h.
| Real dyno::GridHash< TDataType >::ds | 
Definition at line 72 of file GridHash.h.
| Coord dyno::GridHash< TDataType >::hi | 
Definition at line 75 of file GridHash.h.
| int* dyno::GridHash< TDataType >::ids = nullptr | 
Definition at line 79 of file GridHash.h.
| int* dyno::GridHash< TDataType >::index = nullptr | 
Definition at line 81 of file GridHash.h.
| Coord dyno::GridHash< TDataType >::lo | 
Definition at line 74 of file GridHash.h.
| Reduction<int>* dyno::GridHash< TDataType >::m_reduce = nullptr | 
Definition at line 84 of file GridHash.h.
| Scan<int>* dyno::GridHash< TDataType >::m_scan = nullptr | 
Definition at line 83 of file GridHash.h.
| int dyno::GridHash< TDataType >::num | 
Definition at line 67 of file GridHash.h.
| int dyno::GridHash< TDataType >::nx | 
Definition at line 68 of file GridHash.h.
| int dyno::GridHash< TDataType >::ny | 
Definition at line 68 of file GridHash.h.
| int dyno::GridHash< TDataType >::nz | 
Definition at line 68 of file GridHash.h.
| int dyno::GridHash< TDataType >::particle_num = 0 | 
Definition at line 70 of file GridHash.h.