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 1162 for trunk/NEMO/TOP_SRC/MY_TRC/trcsms_my_trc.F90 – NEMO

Ignore:
Timestamp:
2008-07-02T11:33:33+02:00 (16 years ago)
Author:
cetlod
Message:

add an example of MY_TRC tracer model, see ticket:229

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/MY_TRC/trcsms_my_trc.F90

    r1146 r1162  
    1313   !!---------------------------------------------------------------------- 
    1414   USE par_trc         ! TOP parameters 
     15   USE oce_trc 
     16   USE trc 
    1517 
    1618   IMPLICIT NONE 
     
    4042      IF(lwp) WRITE(numout,*) ' trc_sms_my_trc:  MY_TRC model' 
    4143      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~' 
     44 
     45      WHERE( (glamt <= 170) .AND. (glamt >= 160) .AND. (gphit <= -74) .AND. (gphit >=-75.6) ) 
     46        trn(:,:,1,jpmyt1) = 1. 
     47        trb(:,:,1,jpmyt1) = 1. 
     48        tra(:,:,1,jpmyt1) = 0. 
     49      END WHERE 
     50 
     51      WHERE( ((glamt <= -165) .OR. (glamt >= 160)) .AND. (gphit <= -76) .AND. (gphit >=-80))  
     52        trn(:,:,1,jpmyt2) = 1. 
     53        trb(:,:,1,jpmyt2) = 1. 
     54        tra(:,:,1,jpmyt2) = 0. 
     55      END WHERE 
     56 
    4257      ! 
    4358   END SUBROUTINE trc_sms_my_trc 
Note: See TracChangeset for help on using the changeset viewer.