Changeset 4074 for trunk/LMDZ.COMMON/libf/evolution/atmosphere.F90
- Timestamp:
- Feb 17, 2026, 2:45:53 PM (11 days ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/evolution/atmosphere.F90 (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/atmosphere.F90
r4065 r4074 69 69 if (.not. allocated(u_PCM)) allocate(u_PCM(ngrid,nlayer)) 70 70 if (.not. allocated(v_PCM)) allocate(v_PCM(ngrid,nlayer)) 71 ap(:) = 0._dp 72 bp(:) = 0._dp 73 ps_PCM(:) = 0._dp 74 teta_PCM(:,:) = 0._dp 75 u_PCM(:,:) = 0._dp 76 v_PCM(:,:) = 0._dp 71 77 72 78 END SUBROUTINE ini_atmosphere … … 662 668 ! The pressure deviation is rescaled to avoid disproportionate oscillations in case of huge change of average pressure during the PEM run 663 669 ps4PCM(:) = ps_avg(:) + ps_dev(:)*ps_avg_glob/ps_avg_glob_ini 664 pa4PCM = ps_avg_glob_ini/30. ! For now the altitude grid is not changed 665 preff4PCM = ps_avg_glob_ini ! For now the altitude grid is not changed 666 670 pa4PCM = ps_avg_glob_ini/30. ! For now the altitude grid is not changed 671 preff4PCM = ps_avg_glob_ini ! For now the altitude grid is not changed 672 673 ! Correction on teta due to surface pressure changes 667 674 call print_msg('> Building potential temperature for the PCM') 668 675 do l = 1,nlayer 669 ! Correction on teta due to surface pressure changes670 676 teta4PCM(:,l) = teta_PCM(:,l)*ps4PCM(:)**rcp 671 677 end do 672 678 679 ! Compute atmospheric pressure 673 680 call print_msg('> Building air mass for the PCM') 674 ! Compute atmospheric pressure675 681 do l = 1,nlayer + 1 676 682 p(:,l) = ap(l) + bp(l)*ps4PCM(:)
Note: See TracChangeset
for help on using the changeset viewer.
