From a4eee1fbb162fe60d441766310b7dcfbd8c8841a Mon Sep 17 00:00:00 2001 From: Tomas Sobotik <sobotto4@fjfi.cvut.cz> Date: Mon, 21 Mar 2016 17:11:37 +0100 Subject: [PATCH] 3D parallel iterative solver almost fully fixed v2 --- .../hamilton-jacobi-parallel/tnlParallelEikonalSolver3D_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hamilton-jacobi-parallel/tnlParallelEikonalSolver3D_impl.h b/examples/hamilton-jacobi-parallel/tnlParallelEikonalSolver3D_impl.h index b3170882d8..7fb0a5d409 100644 --- a/examples/hamilton-jacobi-parallel/tnlParallelEikonalSolver3D_impl.h +++ b/examples/hamilton-jacobi-parallel/tnlParallelEikonalSolver3D_impl.h @@ -994,7 +994,7 @@ void tnlParallelEikonalSolver<3,SchemeHost, SchemeDevice, Device, double, int>:: // } double finalTime = this->stopTime; __syncthreads(); - //if( time + currentTau > finalTime ) currentTau = finalTime - time; + if( boundaryCondition == 0 ) finalTime *= 2.0; tnlGridEntity<MeshType, 3, tnlGridEntityNoStencilStorage > Entity(subMesh); tnlNeighbourGridEntityGetter<tnlGridEntity< MeshType, 3, tnlGridEntityNoStencilStorage >,3> neighbourEntities(Entity); -- GitLab