Opened 8 years ago

Closed 8 years ago

Last modified 3 years ago

#963 closed Bug (fixed)

bug in limdmp_2.F90 : wrong variable used.

Reported by: molines Owned by: gm
Priority: low Milestone:
Component: LIM2 Version: release-3.4
Severity: Keywords: LIM*
Cc:

Description

The following lines of limdmp_2.F90 :

 69 !CDIR COLLAPSE
 70          hicif(:,:) = MAX( 0._wp,                     &        ! h >= 0         avoid spurious out of physical range
 71             &         hicif(:,:) - rdt_ice * resto_ice(:,:,1) * ( hicif(:,:) - sf_icedmp(jp_hicif)%fnow(:,:,1) )  )
 72 !CDIR COLLAPSE
 73          hicif(:,:) = MAX( 0._wp, MIN( 1._wp,         &        ! 0<= frld<=1    values which blow the run up
 74             &         frld (:,:) - rdt_ice * resto_ice(:,:,1) * ( frld (:,:) - sf_icedmp(jp_frld )%fnow(:,:,1) )  )  )

must be replaced by :

 69 !CDIR COLLAPSE
 70          hicif(:,:) = MAX( 0._wp,                     &        ! h >= 0         avoid spurious out of physical range
 71             &         hicif(:,:) - rdt_ice * resto_ice(:,:,1) * ( hicif(:,:) - sf_icedmp(jp_hicif)%fnow(:,:,1) )  )
 72 !CDIR COLLAPSE
 73          frld(:,:) = MAX( 0._wp, MIN( 1._wp,         &        ! 0<= frld<=1    values which blow the run up
 74             &         frld (:,:) - rdt_ice * resto_ice(:,:,1) * ( frld (:,:) - sf_icedmp(jp_frld )%fnow(:,:,1) )  )  )

Commit History (2)

ChangesetAuthorTimeChangeLog
3551gm2012-11-14T12:00:10+01:00

Ticket #963 fixed (bug in limdmp_2.F90 : wrong variable used)

3549gm2012-11-14T11:42:18+01:00

Ticket #963 fixed (bug in limdmp_2.F90 : wrong variable used)

Change History (5)

comment:1 Changed 8 years ago by gm

  • Owner changed from NEMO team to gm
  • Status changed from new to assigned

Nice bug !   Thanks Jean-Marc

Gurvan

comment:2 Changed 8 years ago by gm

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 Changed 3 years ago by nemo

  • Keywords LIM* added

comment:4 Changed 3 years ago by nemo

  • Keywords release-3.4* added

comment:5 Changed 3 years ago by nemo

  • Keywords release-3.4* removed
Note: See TracTickets for help on using tickets.