Commit e162a57a authored by Matouš Fencl's avatar Matouš Fencl

2D MPI GPU method adjusted.

parent ac305460
......@@ -297,7 +297,7 @@ __global__ void CudaInitCaller( const Functions::MeshFunction< Meshes::Grid< 2,
if( i < mesh.getDimensions().x() - vecUpperOverlaps[ 0 ] &&
j < mesh.getDimensions().y() - vecUpperOverlaps[ 1 ] &&
i>vecLowerOverlaps[ 0 ] -1 && j> vecLowerOverlaps[ 0 ]-1 )
i>vecLowerOverlaps[ 0 ] -1 && j> vecLowerOverlaps[ 1 ]-1 )
{
const Real& hx = mesh.getSpaceSteps().x();
const Real& hy = mesh.getSpaceSteps().y();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment