Opened 16 years ago
Closed 16 years ago
#124 closed Bug (fixed)
trcrst.F90 : division by zero in at the end of trc_rst_wri
Reported by: | molines@… | Owned by: | nemo |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | TOP | Version: | v2 |
Severity: | Keywords: | ||
Cc: |
Description
1) line 491 is strange, I suppose useless
2) in line 492 : trai is supposed to hold the initial tracer amount, but is not initialized and never filled. ===> division by zero.
By the way, there are cases where the initial concentration of a tracer is 0 (for example when starting a CFC run ...) and this line may crash the run , at the very end, as it is in rst_wri ...)
... in trcrst.F90 491 zdiag_tot=zdiag_tot 492 zder=((zdiag_tot-trai)/trai)*100._wp ...
Commit History (0)
(No commits)
Change History (1)
comment:1 Changed 16 years ago by cetlod
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.