Updated version of output module which outputs temperature if not
isothermal.