OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
p_box< dim, T > Struct Template Reference

It store all the boxes of the near processors in a linear array. More...

Detailed Description

template<unsigned int dim, typename T>
struct p_box< dim, T >

It store all the boxes of the near processors in a linear array.

Definition at line 299 of file common.hpp.

#include <common.hpp>

Public Member Functions

bool operator== (const p_box &pb)
 Check if two p_box are the same.
 

Data Fields

::Box< dim, T > box
 
size_t lc_proc
 local processor id
 
size_t proc
 processor rank
 
size_t shift_id
 shift vector id
 

Member Function Documentation

◆ operator==()

template<unsigned int dim, typename T >
bool p_box< dim, T >::operator== ( const p_box< dim, T > &  pb)
inline

Check if two p_box are the same.

Parameters
pbbox to check
Returns
true if they match

Definition at line 319 of file common.hpp.

Field Documentation

◆ box

template<unsigned int dim, typename T >
::Box<dim,T> p_box< dim, T >::box

Box that identify the intersection of the ghost of the near processor with the processor sub-domain

Definition at line 303 of file common.hpp.

◆ lc_proc

template<unsigned int dim, typename T >
size_t p_box< dim, T >::lc_proc

local processor id

Definition at line 305 of file common.hpp.

◆ proc

template<unsigned int dim, typename T >
size_t p_box< dim, T >::proc

processor rank

Definition at line 307 of file common.hpp.

◆ shift_id

template<unsigned int dim, typename T >
size_t p_box< dim, T >::shift_id

shift vector id

Definition at line 310 of file common.hpp.


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