OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
grid< T > Class Template Reference

Detailed Description

template<typename T>
class grid< T >

Definition at line 218 of file grid_test.hpp.

Public Member Functions

size_t totalSize (std::vector< size_t > &sz)
 
 grid (std::vector< size_t > &sz)
 
template<unsigned int dim>
mem_id LinId (grid_key_dx< dim > &gk)
 
template<unsigned int p>
mem_id LinId (grid_key_3< p > &gk)
 
template<unsigned int dim, unsigned int p>
mem_id LinId (grid_key_d< dim, p > &gk)
 
mem_id LinId (mem_id *id)
 
mem_id LinId (mem_id i)
 
mem_id LinId (mem_id j, mem_id k)
 
mem_id LinId (mem_id i, mem_id j, mem_id k)
 
mem_id LinId (mem_id u, mem_id i, mem_id j, mem_id k)
 
size_t size ()
 

Private Attributes

size_t size_tot
 
std::vector< size_t > sz
 
std::vector< size_t > sz_s
 

Constructor & Destructor Documentation

◆ grid()

template<typename T >
grid< T >::grid ( std::vector< size_t > &  sz)
inline

Definition at line 240 of file grid_test.hpp.

◆ ~grid()

template<typename T >
grid< T >::~grid ( )
inline

Definition at line 337 of file grid_test.hpp.

Member Function Documentation

◆ LinId() [1/8]

template<typename T >
template<unsigned int p>
mem_id grid< T >::LinId ( grid_key_3< p > &  gk)
inline

Definition at line 264 of file grid_test.hpp.

◆ LinId() [2/8]

template<typename T >
template<unsigned int dim, unsigned int p>
mem_id grid< T >::LinId ( grid_key_d< dim, p > &  gk)
inline

Definition at line 274 of file grid_test.hpp.

◆ LinId() [3/8]

template<typename T >
template<unsigned int dim>
mem_id grid< T >::LinId ( grid_key_dx< dim > &  gk)
inline

Definition at line 252 of file grid_test.hpp.

◆ LinId() [4/8]

template<typename T >
mem_id grid< T >::LinId ( mem_id *  id)
inline

Definition at line 286 of file grid_test.hpp.

◆ LinId() [5/8]

template<typename T >
mem_id grid< T >::LinId ( mem_id  i)
inline

Definition at line 299 of file grid_test.hpp.

◆ LinId() [6/8]

template<typename T >
mem_id grid< T >::LinId ( mem_id  i,
mem_id  j,
mem_id  k 
)
inline

Definition at line 315 of file grid_test.hpp.

◆ LinId() [7/8]

template<typename T >
mem_id grid< T >::LinId ( mem_id  j,
mem_id  k 
)
inline

Definition at line 305 of file grid_test.hpp.

◆ LinId() [8/8]

template<typename T >
mem_id grid< T >::LinId ( mem_id  u,
mem_id  i,
mem_id  j,
mem_id  k 
)
inline

Definition at line 326 of file grid_test.hpp.

◆ size()

template<typename T >
size_t grid< T >::size ( )
inline

Definition at line 340 of file grid_test.hpp.

◆ totalSize()

template<typename T >
size_t grid< T >::totalSize ( std::vector< size_t > &  sz)
inline

Definition at line 228 of file grid_test.hpp.

Field Documentation

◆ size_tot

template<typename T >
size_t grid< T >::size_tot
private

Definition at line 220 of file grid_test.hpp.

◆ sz

template<typename T >
std::vector<size_t> grid< T >::sz
private

Definition at line 221 of file grid_test.hpp.

◆ sz_s

template<typename T >
std::vector<size_t> grid< T >::sz_s
private

Definition at line 222 of file grid_test.hpp.


The documentation for this class was generated from the following file: