This subroutine is for applying time varying BC on advection-diffusion equation, similar to the one we have in navier-stokes, but because at the moment I was using initial BC, I commented out it.