Note that the boundary conditions have no effect on the finite difference
formulation of interior nodes of the medium. This is not surprising since the
control volume used in the development of the formulation does not involve
any part of the boundary. You may recall that the boundary conditions had no
effect on the differential equation of heat conduction in the medium either.