a process without gain or loss of heat