OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
CartDecomposition< dim, T, Memory, layout_base, Distribution >::shift_id Class Reference

class to select the returned id by ghost_processorID More...

Detailed Description

template<unsigned int dim, typename T, typename Memory, template< typename > class layout_base, typename Distribution>
class CartDecomposition< dim, T, Memory, layout_base, Distribution >::shift_id

class to select the returned id by ghost_processorID

Definition at line 794 of file CartDecomposition.hpp.

#include <CartDecomposition.hpp>

Static Public Member Functions

template<typename encap_type >
static size_t id (const encap_type &p, size_t b_id)
 Return the shift id.
 

Member Function Documentation

◆ id()

template<unsigned int dim, typename T , typename Memory , template< typename > class layout_base, typename Distribution >
template<typename encap_type >
static size_t CartDecomposition< dim, T, Memory, layout_base, Distribution >::shift_id::id ( const encap_type &  p,
size_t  b_id 
)
inlinestatic

Return the shift id.

Parameters
pstructure containing the id informations
b_idbox_id
Returns
shift_id id

Definition at line 805 of file CartDecomposition.hpp.


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