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.
Changeset 4583 for branches/2012 – NEMO

Changeset 4583 for branches/2012


Ignore:
Timestamp:
2014-03-26T10:35:32+01:00 (10 years ago)
Author:
pabouttier
Message:

Added global adjoint test in cla_tam module, see Ticket #1277

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPATAM_SRC/LBC/cla_tam.F90

    r3668 r4583  
    21392139   END SUBROUTINE cla_dynspg_adj_tst 
    21402140 
     2141   SUBROUTINE cla_adj_tst( kumadt ) 
     2142      !!----------------------------------------------------------------------- 
     2143      !! 
     2144      !!                  ***  ROUTINE cla_adj_tst *** 
     2145      !! 
     2146      !! ** Purpose : Test the adjoint routine. 
     2147      !! 
     2148      !! ** Method  : call the test routines of all the cla_ routines 
     2149      !! 
     2150      !! 
     2151      !! History : 
     2152      !!        ! 08-08 (A. Vidard) 
     2153      !!----------------------------------------------------------------------- 
     2154      !! * Modules used 
     2155 
     2156      !! * Arguments 
     2157      INTEGER, INTENT(IN) :: & 
     2158         & kumadt             ! Output unit 
     2159 
     2160      CALL cla_div_adj_tst( kumadt ) 
     2161 
     2162      CALL cla_traadv_adj_tst( kumadt ) 
     2163       
     2164      CALL cla_dynspg_adj_tst( kumadt ) 
     2165 
     2166   END SUBROUTINE cla_adj_tst 
     2167 
    21412168#else 
    21422169   !!---------------------------------------------------------------------- 
     
    21462173CONTAINS 
    21472174   SUBROUTINE cla_init_tam 
    2148       CALL ctl_stop( 'cla_init: Cross Land Advection hard coded for ORCA_R2 with 31 levels' ) 
     2175      CALL ctl_stop( 'cla_init_tam: Cross Land Advection hard coded for ORCA_R2 with 31 levels' ) 
    21492176   END SUBROUTINE cla_init_tam 
    21502177   SUBROUTINE cla_div_tan( kt ) 
    2151       WRITE(*,*) 'cla_div: You should have not see this print! error?', kt 
     2178      WRITE(*,*) 'cla_div_tan: You should have not see this print! error?', kt 
    21522179   END SUBROUTINE cla_div_tan 
    21532180   SUBROUTINE cla_traadv_tan( kt ) 
    2154       WRITE(*,*) 'cla_traadv: You should have not see this print! error?', kt 
     2181      WRITE(*,*) 'cla_traadv_tan: You should have not see this print! error?', kt 
    21552182   END SUBROUTINE cla_traadv_tan 
    21562183   SUBROUTINE cla_dynspg_tan( kt ) 
    2157       WRITE(*,*) 'dyn_spg_cla: You should have not see this print! error?', kt 
     2184      WRITE(*,*) 'cla_dynspg_tan: You should have not see this print! error?', kt 
    21582185   END SUBROUTINE cla_dynspg_tan 
    21592186   SUBROUTINE cla_div_adj( kt ) 
    2160       WRITE(*,*) 'cla_div: You should have not see this print! error?', kt 
     2187      WRITE(*,*) 'cla_div_adj: You should have not see this print! error?', kt 
    21612188   END SUBROUTINE cla_div_adj 
    21622189   SUBROUTINE cla_traadv_adj( kt ) 
    2163       WRITE(*,*) 'cla_traadv: You should have not see this print! error?', kt 
     2190      WRITE(*,*) 'cla_traadv_adj: You should have not see this print! error?', kt 
    21642191   END SUBROUTINE cla_traadv_adj 
    21652192   SUBROUTINE cla_dynspg_adj( kt ) 
    2166       WRITE(*,*) 'dyn_spg_cla: You should have not see this print! error?', kt 
     2193      WRITE(*,*) 'cla_dynspg_adj: You should have not see this print! error?', kt 
    21672194   END SUBROUTINE cla_dynspg_adj 
    21682195   SUBROUTINE cla_div_adj_tst( kt ) 
    2169       WRITE(*,*) 'cla_div: You should have not see this print! error?', kt 
     2196      WRITE(*,*) 'cla_div_adj_tst: You should have not see this print! error?', kt 
    21702197   END SUBROUTINE cla_div_adj_tst 
    21712198   SUBROUTINE cla_traadv_adj_tst( kt ) 
    2172       WRITE(*,*) 'cla_traadv: You should have not see this print! error?', kt 
     2199      WRITE(*,*) 'cla_traadv_adj_tst: You should have not see this print! error?', kt 
    21732200   END SUBROUTINE cla_traadv_adj_tst 
    21742201   SUBROUTINE cla_dynspg_adj_tst( kt ) 
    2175       WRITE(*,*) 'dyn_spg_cla: You should have not see this print! error?', kt 
     2202      WRITE(*,*) 'cla_dynspg_adj_tst: You should have not see this print! error?', kt 
    21762203   END SUBROUTINE cla_dynspg_adj_tst 
     2204   SUBROUTINE cla_adj_tst ( kt ) 
     2205      WRITE(*,*) 'cla_adj_tst: You should have not see this print! error?', kt 
     2206   END SUBROUTINE cla_adj_tst 
    21772207#endif 
    21782208#endif 
Note: See TracChangeset for help on using the changeset viewer.