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

This structure store the Box that define the domain inside the Ghost + domain box. More...

Detailed Description

template<unsigned int dim>
struct GBoxes< dim >

This structure store the Box that define the domain inside the Ghost + domain box.

                          (Ghost + Domain)
     +------------------+
     |                  |
     |  +------------+ <---------- (Domain)
     |  |            |  |
     |  |  Domain    |  |
     |  |  Box       |  |
     |  |            |  |
     |  |            |  |
     |  +------------+  |
     |                  |
     +------------------+
(0,0) local coordinate ---> ( x, y )
* Domain
Template Parameters
dimdimensionality

Definition at line 39 of file GBoxes.hpp.

#include <GBoxes.hpp>

Public Member Functions

bool operator== (const GBoxes &tmp)
 

Static Public Member Functions

static bool noPointers ()
 Indicate that this structure has no pointers inside.
 

Data Fields

Box< dim, long int > GDbox
 Ghost + Domain ghost.
 
Box< dim, long int > Dbox
 Domain box.
 
Point< dim, long int > origin
 origin of GDbox in global grid coordinates
 
size_t k
 

Member Function Documentation

◆ noPointers()

template<unsigned int dim>
static bool GBoxes< dim >::noPointers ( )
inlinestatic

Indicate that this structure has no pointers inside.

Returns
true

Definition at line 57 of file GBoxes.hpp.

◆ operator==()

template<unsigned int dim>
bool GBoxes< dim >::operator== ( const GBoxes< dim > &  tmp)
inline

Definition at line 62 of file GBoxes.hpp.

Field Documentation

◆ Dbox

template<unsigned int dim>
Box<dim,long int> GBoxes< dim >::Dbox

Domain box.

Definition at line 44 of file GBoxes.hpp.

◆ GDbox

template<unsigned int dim>
Box<dim,long int> GBoxes< dim >::GDbox

Ghost + Domain ghost.

Definition at line 42 of file GBoxes.hpp.

◆ k

template<unsigned int dim>
size_t GBoxes< dim >::k

In case the grid is not defined everywhere but is defined by a set of boxes indicate from which box it come from

Definition at line 50 of file GBoxes.hpp.

◆ origin

template<unsigned int dim>
Point<dim,long int> GBoxes< dim >::origin

origin of GDbox in global grid coordinates

Definition at line 46 of file GBoxes.hpp.


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