fixed r factor in zero-flux bdry condition