OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
test_multiple_o.cpp
1 /*
2  * test_multiple_o.cpp
3  *
4  * Created on: Feb 5, 2016
5  * Author: i-bird
6  *
7  *
8  * It just test that the compilation with multiple translation unit (*.o) does not
9  * produce error, if we have duplicated symbol in the translation unit we will get error
10  *
11  */
12 
13 #include "Vector/vector_dist.hpp"
14 #include "Grid/grid_dist_id.hpp"
15 #include "data_type/aggregate.hpp"
16 #include "Decomposition/CartDecomposition.hpp"
17 
18 void f()
19 {
20  // Ghost
21  Ghost<3,float> g(0.01);
22 
23  size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
24 
25  Box<3,float> domain({0.0,0.0,0.0},{1.0,1.0,1.0});
26  size_t sz[3];
27  sz[0] = 100;
28  sz[1] = 100;
29  sz[2] = 100;
30 
33 }
34 
35 
Definition: Ghost.hpp:39
This class decompose a space into sub-sub-domains and distribute them across processors.
This is a distributed grid.
Distributed vector.