heat 1d and 2d programs with a simple schedule