diff --git a/tests/benchmark.cpp b/tests/benchmark.cpp index 25808ea..14e25fd 100644 --- a/tests/benchmark.cpp +++ b/tests/benchmark.cpp @@ -22,8 +22,9 @@ */ template void timeit(std::array globalSize, std::array isPeriodic, int iterations){ - double t1,t2; - FsGrid testGrid(globalSize, MPI_COMM_WORLD, isPeriodic); + double t1,t2; + FsGridCouplingInformation gridCoupling; + FsGrid testGrid(globalSize, MPI_COMM_WORLD, isPeriodic,gridCoupling); int rank,size; MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Comm_size(MPI_COMM_WORLD, &size); diff --git a/tests/test.cpp b/tests/test.cpp index 86ed4f1..df75760 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -33,8 +33,9 @@ int main(int argc, char** argv) { // Create a 8×8 Testgrid std::array globalSize{20,20,1}; std::array isPeriodic{false,false,true}; + FsGridCouplingInformation gridCoupling; { - FsGrid testGrid(globalSize, MPI_COMM_WORLD, isPeriodic); + FsGrid testGrid(globalSize, MPI_COMM_WORLD, isPeriodic,gridCoupling); /* if(rank == 0) { std::cerr << " --- Test task mapping functions ---" << std::endl; @@ -190,9 +191,7 @@ int main(int argc, char** argv) { } } } - - MPI_Finalize(); return 0;