New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#873 (bug in diaptr) – NEMO

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#873 closed Bug (fixed)

bug in diaptr

Reported by: xcapet Owned by: nemo
Priority: low Milestone:
Component: OCE Version: v3.3
Severity: Keywords:
Cc:

Description

In dia_ptr.F90 the same memory space is used for advective heat and salinity transport so only the one computed last (salinity) should be correct.

   SUBROUTINE dia_ptr( kt )
      !!----------------------------------------------------------------------
      !!                  ***  ROUTINE dia_ptr  ***
      !!----------------------------------------------------------------------
      USE oce,     vt  =>   ua   ! use ua as workspace
      USE oce,     vs  =>   ua   ! use ua as workspace

The last line should be

      USE oce,     vs  =>   va   ! use ua as workspace

Commit History (2)

ChangesetAuthorTimeChangeLog
3385charris2012-05-08T10:59:30+02:00

#873 As [3382] but in the trunk this time as previously intended!

3382charris2012-05-04T13:05:24+02:00

#873 Yet another fix to diaptr.

Change History (2)

comment:1 Changed 12 years ago by charris

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

Fixed for NEMO 3.4 in [3382].

comment:2 Changed 12 years ago by charris

[3382] was mistakenly in the 2011 merge branch rather than the trunk. Now done correctly in [3385].

Note: See TracTickets for help on using tickets.