Ignore:
Timestamp:
May 7, 2010, 9:15:50 AM (14 years ago)
Author:
Laurent Fairhead
Message:

Correction of bug in wind component transformation at the poles


Correction d'un bug dans la transformation du vent aux pôles

OM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/geo2atm.F90

    r1146 r1385  
    3939  ! Value at North Pole
    4040  IF (is_north_pole) THEN
    41      pu(:, 1) = pu(1, 1)
    42      pv(:, 1) = pv(1, 1)
    43      pr(:, 1) = pr(1, 1)
     41     pu(:, 1) = -px (1,1)
     42     pv(:, 1) = -py (1,1)
     43     pr(:, 1) = 0.0
    4444  ENDIF
    4545 
    4646  ! Value at South Pole     
    4747  IF (is_south_pole) THEN
    48      pu(:,jm) = pu(1,jm)
    49      pv(:,jm) = pv(1,jm)
    50      pr(:,jm) = pr(1,jm)
     48     pu(:,jm) = -px (1,jm)
     49     pv(:,jm) = -py (1,jm)
     50     pr(:,jm) = 0.0
    5151  ENDIF
    5252 
Note: See TracChangeset for help on using the changeset viewer.