Commit a6ff63e8 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Refactoring grids.

parent 4d537e3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#include <core/cuda/reduction-operations.h>
#include <core/cuda/cuda-reduction.h>

#ifdef TEMPLATE_EXPLICIT_INSTANTIATION
#ifdef UNDEF //TEMPLATE_EXPLICIT_INSTANTIATION

/****
 * Sum
+3 −0
Original line number Diff line number Diff line
@@ -584,8 +584,11 @@ int main( int argc, char* argv[] )
   if( device == "host" &&
       ! solveHeatEquationHost< double, int >( parameters  ) )
      return EXIT_FAILURE;
#ifdef HAVE_CUDA
   if( device == "cuda" &&
       ! solveHeatEquationCuda< double, int >( parameters  ) )
      return EXIT_FAILURE;   
#endif      
   return EXIT_SUCCESS;   
}

+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ class tnlGridTester< 1, RealType, Device, IndexType >: public CppUnit :: TestCas
      GridType grid;
      grid.setDimensions( xSize );
      
      typename GridType::template GridEntity< GridType::Cells > cell( grid );
      typename GridType::Cell cell( grid );
      for( cell.getCoordinates().x() = 0;
           cell.getCoordinates().x() < xSize;
           cell.getCoordinates().x()++ )