#2073 closed Defect (fixed)
Out of bounds of passive tracers when using PISCES or another SMS model together with CFC
Reported by: | cetlod | Owned by: | cetlod |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | TOP | Version: | v3.6 |
Severity: | minor | Keywords: | v3.6 |
Cc: |
Description (last modified by nicolasmartin)
Context
NEMO-TOP is designed to be able to simulate SMS models and inert tracers at the same time. When trying to uses PISCES+CFC the model crashes because the tracer loop is not well defined in the main CFC routine
Analysis
in trcsms_cfc.F90, an out-of-bounds occurs when trying to read and write the cumulative fluxes in the restart
Recommendation
the loop below
DO jn = jp_cfc0, jp_cfc1 CALL iom_rstput( kt, nitrst, numrtw, 'qint_'//ctrcnm(jn), qint_cfc(:,:,jn) ) END DO
should be
jl = 0 DO jn = jp_cfc0, jp_cfc1 jl = jl + 1 CALL iom_get( numrtr, jpdom_autoglo, 'qint_'//ctrcnm(jn), qint_cfc(:,:,jl) ) END DO
...
Commit History (2)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
9456 | cetlod | 2018-04-04T09:24:34+02:00 | dev_merge : Bugfix to avoid out-of-bounds in CFC model, see ticket #2073 |
9455 | cetlod | 2018-04-04T09:21:45+02:00 | Bugfix to avoid out-of-bounds in CFC model, see ticket #2073 |
Change History (6)
comment:1 Changed 5 years ago by cetlod
comment:2 Changed 5 years ago by cetlod
In 9456:
comment:3 Changed 5 years ago by nicolasmartin
- Description modified (diff)
comment:4 Changed 5 years ago by nicolasmartin
- Owner set to cetlod
- Status changed from new to assigned
comment:5 Changed 5 years ago by cetlod
- Component changed from OCE to TOP
- Resolution set to fixed
- Status changed from assigned to closed
Done in v4.0
comment:6 Changed 16 months ago by nemo
- Keywords v3.6 added
Note: See
TracTickets for help on using
tickets.
In 9455: