Skip to content

Commit

Permalink
bring back entrainment
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter9192 committed Sep 23, 2024
1 parent eecbbd2 commit bd4afad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/class/src/class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class CLASS {
/** Tendency of potential temperature jump at h [K s-1] */
get dthetatend(): number {
const w_th_ft = 0.0; // TODO: add free troposphere switch
return this._cfg.mixedLayer.gammatheta - this.thetatend + w_th_ft;
return this._cfg.mixedLayer.gammatheta * this.we - this.thetatend + w_th_ft;
}

/** Tendency of mixed-layer specific humidity [kg kg-1 s-1] */
Expand Down

0 comments on commit bd4afad

Please sign in to comment.