OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
Box_loc_sub< dim, T > Struct Template Reference

for each sub-domain box sub contain the real the sub-domain id More...

Detailed Description

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

for each sub-domain box sub contain the real the sub-domain id

When we apply boundary conditions real sub-domains are copied along the border sub, contain the id of the real sub_domain

Template Parameters
dimDimensionality of the box
Tin witch space this box live

Definition at line 26 of file common.hpp.

#include <common.hpp>

Public Member Functions

 Box_loc_sub ()
 Constructor.
 
 Box_loc_sub (const Box< dim, T > &bx, size_t sub, const comb< dim > &cmb)
 Constructor from box, domain id and sector where it live.
 
Box_loc_sub operator= (const Box< dim, T > &box)
 Set the sub-domain box coordinates.
 

Data Fields

Box< dim, T > bx
 Box defining the sub-domain (copied)
 
size_t sub
 The id of the real domain.
 
comb< dim > cmb
 in witch sector this sub-domain live
 

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