Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -41,3 +41,4 @@ # /tools/src/ /tools/src/Makefile.in /Testing /CMakeLists.txt.user CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -99,6 +99,7 @@ endif( NOT WITH_CUDA STREQUAL "no" ) # find_package( OpenMP ) if( OPENMP_FOUND ) AddCompilerFlag( "-DHAVE_OPENMP -fopenmp" ) # TODO: finish this endif() Loading examples/heat-equation/heatEquationSolver_impl.h +0 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,6 @@ void heatEquationSolver< Mesh,Diffusion,BoundaryCondition,RightHandSide > this->bindDofs( mesh, _u ); explicitUpdater.template update< Mesh::Dimensions >( time, tau, mesh, this->differentialOperator, this->boundaryCondition, Loading src/implementation/mesh/tnlTraversal_Grid1D_impl.h +3 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,9 @@ processEntities( const GridType& grid, */ CoordinatesType coordinates; const IndexType& xSize = grid.getDimensions().x(); #ifdef HAVE_OPENMP //#pragma omp parallel for #endif for( coordinates.x() = 0; coordinates.x() <= xSize; coordinates.x() ++ ) { const IndexType index = grid.getVertexIndex( coordinates ); Loading src/implementation/mesh/tnlTraversal_Grid2D_impl.h +3 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,9 @@ processEntities( const GridType& grid, CoordinatesType coordinates; const IndexType& xSize = grid.getDimensions().x(); const IndexType& ySize = grid.getDimensions().y(); #ifdef HAVE_OPENMP //#pragma omp parallel for #endif for( coordinates.y() = 0; coordinates.y() < ySize; coordinates.y() ++ ) for( coordinates.x() = 0; coordinates.x() < xSize; coordinates.x() ++ ) { Loading Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -41,3 +41,4 @@ # /tools/src/ /tools/src/Makefile.in /Testing /CMakeLists.txt.user
CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -99,6 +99,7 @@ endif( NOT WITH_CUDA STREQUAL "no" ) # find_package( OpenMP ) if( OPENMP_FOUND ) AddCompilerFlag( "-DHAVE_OPENMP -fopenmp" ) # TODO: finish this endif() Loading
examples/heat-equation/heatEquationSolver_impl.h +0 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,6 @@ void heatEquationSolver< Mesh,Diffusion,BoundaryCondition,RightHandSide > this->bindDofs( mesh, _u ); explicitUpdater.template update< Mesh::Dimensions >( time, tau, mesh, this->differentialOperator, this->boundaryCondition, Loading
src/implementation/mesh/tnlTraversal_Grid1D_impl.h +3 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,9 @@ processEntities( const GridType& grid, */ CoordinatesType coordinates; const IndexType& xSize = grid.getDimensions().x(); #ifdef HAVE_OPENMP //#pragma omp parallel for #endif for( coordinates.x() = 0; coordinates.x() <= xSize; coordinates.x() ++ ) { const IndexType index = grid.getVertexIndex( coordinates ); Loading
src/implementation/mesh/tnlTraversal_Grid2D_impl.h +3 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,9 @@ processEntities( const GridType& grid, CoordinatesType coordinates; const IndexType& xSize = grid.getDimensions().x(); const IndexType& ySize = grid.getDimensions().y(); #ifdef HAVE_OPENMP //#pragma omp parallel for #endif for( coordinates.y() = 0; coordinates.y() < ySize; coordinates.y() ++ ) for( coordinates.x() = 0; coordinates.x() < xSize; coordinates.x() ++ ) { Loading