1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- MODULE p2zsms
- !!======================================================================
- !! *** MODULE p2zsms ***
- !! TOP : Time loop of LOBSTER model
- !!======================================================================
- !! History : 1.0 ! M. Levy
- !! 2.0 ! 2007-12 (C. Ethe, G. Madec) revised architecture
- !!----------------------------------------------------------------------
- #if defined key_pisces_reduced
- !!----------------------------------------------------------------------
- !! 'key_pisces_reduced' LOBSTER bio-model
- !!----------------------------------------------------------------------
- !! p2zsms : Time loop of passive tracers sms
- !!----------------------------------------------------------------------
- USE oce_trc !
- USE trc
- USE sms_pisces
- USE p2zbio
- USE p2zopt
- USE p2zsed
- USE p2zexp
- USE trd_oce
- USE trdtrc_oce
- USE trdtrc
- USE trdmxl_trc
- IMPLICIT NONE
- PRIVATE
- PUBLIC p2z_sms ! called in p2zsms.F90
- !!----------------------------------------------------------------------
- !! NEMO/TOP 3.3 , NEMO Consortium (2010)
- !! $Id: p2zsms.F90 2750 2016-01-12 10:42:05Z ufla $
- !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
- !!----------------------------------------------------------------------
- CONTAINS
- SUBROUTINE p2z_sms( kt )
- !!---------------------------------------------------------------------
- !! *** ROUTINE p2z_sms ***
- !!
- !! ** Purpose : Managment of the call to Biological sources and sinks
- !! routines of LOBSTER bio-model
- !!
- !! ** Method : - ???
- !! --------------------------------------------------------------------
- !!
- INTEGER, INTENT( in ) :: kt ! ocean time-step index
- !
- INTEGER :: jn
- !! --------------------------------------------------------------------
- !
- IF( nn_timing == 1 ) CALL timing_start('p2z_sms')
- !
- CALL p2z_opt( kt ) ! optical model
- CALL p2z_bio( kt ) ! biological model
- CALL p2z_sed( kt ) ! sedimentation model
- CALL p2z_exp( kt ) ! export
- IF( l_trdtrc ) THEN
- DO jn = jp_pcs0, jp_pcs1
- CALL trd_trc( tra(:,:,:,jn), jn, jptra_sms, kt ) ! save trends
- END DO
- END IF
- IF( lk_trdmxl_trc ) CALL trd_mxl_bio( kt ) ! trends: Mixed-layer
- !
- IF ( lwm .AND. kt == nittrc000 ) CALL FLUSH ( numonp ) ! flush output namelist PISCES
- IF( nn_timing == 1 ) CALL timing_stop('p2z_sms')
- !
- END SUBROUTINE p2z_sms
- #else
- !!======================================================================
- !! Dummy module : No passive tracer
- !!======================================================================
- CONTAINS
- SUBROUTINE p2z_sms( kt ) ! Empty routine
- INTEGER, INTENT( in ) :: kt
- WRITE(*,*) 'p2z_sms: You should not have seen this print! error?', kt
- END SUBROUTINE p2z_sms
- #endif
- !!======================================================================
- END MODULE p2zsms
|