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.
#1500 (clean adjoint output) – NEMO

Opened 9 years ago

Closed 9 years ago

Last modified 2 years ago

#1500 closed Bug (fixed)

clean adjoint output

Reported by: avidard Owned by: nemo
Priority: low Milestone:
Component: TAM Version: v3.4
Severity: Keywords: TAM v3.4
Cc:

Description

Related to my previous ticket #1499 one lbc_lnk_adj call is required for the 'now' fields at the end of the adjoint model. i.e. one should add

CALL lbc_lnk_adj( tsn_ad( :,:,:,1), 'T', 1. )CALL lbc_lnk_adj( tsn_ad( :,:,:,2), 'T', 1. )CALL lbc_lnk_adj( un_ad( :,:,: ), 'U', -1. )CALL lbc_lnk_adj( vn_ad( :,:,: ), 'V', -1. )CALL lbc_lnk_adj( sshn_ad(:,: ), 'T', 1. )

at the very end of istate_adj. (also the last call to adj_trj_wri coud be put after these commands). For consistancy, corresponding calls should be made at the very beginning of istate_tan

Actually, calls to lbc_lnk(sshn_tl..) and lbc_lnk_adj(sshn_ad..) in dynspg_flt_tam can be removed. Only the one at the end is needed

(added at revision:5155, following my Ticket #1267, sorry Pierre-Antoine)

Commit History (1)

ChangesetAuthorTimeChangeLog
5170pabouttier2015-03-25T10:44:01+01:00

Add missing lbc_lnk adj and remove extra ones in dynspg_flt ; See Ticket #1500

Change History (6)

comment:1 Changed 9 years ago by bouttier

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

Fixed in revision 5170

comment:2 Changed 8 years ago by nicolasmartin

  • Keywords TAM added

comment:3 Changed 8 years ago by nicolasmartin

  • Keywords nemo_v3_4* added

comment:4 Changed 6 years ago by nemo

  • Keywords release-3.4* added; nemo_v3_4* removed

comment:5 Changed 6 years ago by nemo

  • Keywords release-3.4* removed

comment:6 Changed 2 years ago by nemo

  • Keywords v3.4 added
Note: See TracTickets for help on using tickets.