Trying to check for obstacles in advection kernel.