Opened 10 years ago
Closed 10 years ago
#1238 closed Bug (fixed)
Bug in volume calculation for tendency diagnostics
Reported by: | guziy | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v3.4 |
Severity: | Keywords: | ||
Cc: |
Description
In the file dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/TRD/trdicp.F90, subroutine trd_icp_init,
tvolume is not calculated correctly.
What is currently in the code
tvolt = 0._wp DO jk = 1, jpkm1 tvolt = SUM( e1e2t(:,:) * fse3t(:,:,jk) * tmask(:,:,jk) * tmask_i(:,:) ) END DO
Proposed fix:
tvolt = 0._wp DO jk = 1, jpkm1 tvolt = tvolt + SUM( e1e2t(:,:) * fse3t(:,:,jk) * tmask(:,:,jk) * tmask_i(:,:) ) END DO
Commit History (2)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
4606 | gm | 2014-03-28T11:47:14+01:00 | #1238 - v3.4_STABLE: correct the volume calculation for tendency diagnostics |
4605 | gm | 2014-03-28T11:46:11+01:00 | #1238 - trunk: correct the volume calculation for tendency diagnostics |
Change History (1)
comment:1 Changed 10 years ago by gm
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Thanks for reporting this issue
Solved in both NEMO_v3_4_STABLE and v3.6 beta (trunk). see revision 4605 and 4606
Gurvan