preps for heat1d example