Skip to content
Snippets Groups Projects
Commit 4664f458 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding missing file

parent d92b2d61
No related branches found
No related tags found
No related merge requests found
/*
* test_multiple_o.cpp
*
* Created on: Feb 5, 2016
* Author: i-bird
*
*
* It just test that the compilation with multiple translation unit (*.o) does not
* produce error, if we have duplicated symbol in the translation unit we will get error
*
*/
#include "Vector/vector_dist.hpp"
#include "Grid/grid_dist_id.hpp"
#include "data_type/aggregate.hpp"
#include "Decomposition/CartDecomposition.hpp"
void f()
{
// Ghost
Ghost<3,float> g(0.01);
size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
Box<3,float> domain({0.0,0.0,0.0},{1.0,1.0,1.0});
size_t sz[3];
sz[0] = 100;
sz[1] = 100;
sz[2] = 100;
vector_dist<3,float, aggregate<float>, CartDecomposition<3,float> > vd(4096,domain,bc,g);
grid_dist_id<3, float, aggregate<float[3]>, CartDecomposition<3,float>> g_dist(sz,domain,g);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment