def _compute(self):
tendencies = self._temperature_tendencies()<EOL>if '<STR_LIT:q>' in self.state:<EOL><INDENT>tendencies['<STR_LIT>'] *= <NUM_LIT:0.><EOL>Pa_per_hPa = <NUM_LIT><EOL>air_mass_per_area = self.Tatm.domain.lev.delta[...,-<NUM_LIT:1>] * Pa_per_hPa / const.g<EOL>specific_humidity_tendency = <NUM_LIT:0.>*self.q<EOL>specific_humidity_tendency[...,-<NUM_LIT:1>,np.newaxis] = self.LHF/const.Lhvap / air_mass_per_area<EOL>tendencies['<STR_LIT:q>'] = specific_humidity_tendency<EOL><DEDENT>return tendencies<EOL>
Overides the _compute method of EnergyBudget