Commit 481d1209 authored by Tomas Sobotik's avatar Tomas Sobotik
Browse files

Tweaks

parent 1f1fcc8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ void tnlNarrowBand< tnlGrid< 2,MeshReal, Device, MeshIndex >, Real, Index > :: u
	//			1 - with curve,  	2 - to the north of curve, 	4  - to the south of curve,
	//								8 - to the east of curve, 	16 - to the west of curve.
	int subgridID = i/NARROWBAND_SUBGRID_SIZE + (j/NARROWBAND_SUBGRID_SIZE) * statusGridSize;
	if(/*cudaStatusVector[subgridID] != 0 &&*/ i<Mesh.getDimensions().x() && j < Mesh.getDimensions().y())
	if(cudaStatusVector[subgridID] != 0 && i<Mesh.getDimensions().x() && j < Mesh.getDimensions().y())
	{
		tnlGridEntity< tnlGrid< 2,double, tnlHost, int >, 2, tnlGridEntityNoStencilStorage > Entity(Mesh);
		Entity.setCoordinates(CoordinatesType(i,j));
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ __global__ void runNarrowBandCUDA(tnlNarrowBand< tnlGrid< 2,double, tnlHost, int



#include "tnlNarrowBand2D_CUDA_v5_impl.h"
#include "tnlNarrowBand2D_CUDA_v4_impl.h"
//											#include "tnlNarrowBand3D_CUDA_impl.h"

#endif /* TNLNARROWBAND_H_ */