/[MITgcm]/MITgcm_contrib/darwin2/pkg/quota/quota_tempfunc.F
ViewVC logotype

Contents of /MITgcm_contrib/darwin2/pkg/quota/quota_tempfunc.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Apr 13 18:56:26 2011 UTC (14 years, 6 months ago) by jahn
Branch: MAIN
CVS Tags: ctrb_darwin2_ckpt63l_20120405, ctrb_darwin2_ckpt62v_20110413, ctrb_darwin2_ckpt63f_20111201, ctrb_darwin2_ckpt62y_20110526, ctrb_darwin2_ckpt62x_20110513, ctrb_darwin2_ckpt62w_20110426, ctrb_darwin2_ckpt63o_20120629, ctrb_darwin2_ckpt63c_20111011, ctrb_darwin2_ckpt63i_20120124, ctrb_darwin2_ckpt63m_20120506, ctrb_darwin2_ckpt63e_20111107, ctrb_darwin2_ckpt63b_20110830, ctrb_darwin2_ckpt63j_20120217, ctrb_darwin2_ckpt63g_20111220, ctrb_darwin2_ckpt63a_20110804, ctrb_darwin2_ckpt63h_20111230, ctrb_darwin2_ckpt63d_20111107, ctrb_darwin2_ckpt63_20110728, ctrb_darwin2_baseline, ctrb_darwin2_ckpt63n_20120604, ctrb_darwin2_ckpt63k_20120317, ctrb_darwin2_ckpt62z_20110622
darwin2 initial checkin

1
2 #include "CPP_OPTIONS.h"
3 #include "PTRACERS_OPTIONS.h"
4 #include "DARWIN_OPTIONS.h"
5
6 #ifdef ALLOW_PTRACERS
7 #ifdef ALLOW_DARWIN
8 #ifdef ALLOW_QUOTA
9 c ====================================================================
10 c SUBROUTINE QUOTA_TEMPFUNC
11 c ====================================================================
12
13 SUBROUTINE QUOTA_TEMPFUNC(
14 I Tlocal,
15 O photo_TempFunction,
16 O activ_TempFunction,
17 I myThid)
18
19 implicit none
20 #include "QUOTA_SIZE.h"
21 #include "QUOTA.h"
22
23 C !INPUT PARAMETERS: ===================================================
24 C myThid :: thread number
25 INTEGER myThid
26 _RL photo_TempFunction
27 _RL activ_TempFunction
28 _RL Tlocal
29 c local
30 _RL Temp_P,Temp_A,Tempref
31 INTEGER jp
32 c
33
34 ! Temp_P = 0.0637 _d 0
35 ! Temp_A = 0.1 _d 0
36 Temp_P = 0.05 _d 0
37 Temp_A = 0.05 _d 0
38
39 Tempref= 30. _d 0
40 c
41 photo_TempFunction = exp(Temp_P*(Tlocal - Tempref))
42 photo_TempFunction = max(photo_TempFunction,1. _d -10)
43 c
44 activ_TempFunction = exp(Temp_A*(Tlocal - Tempref))
45 activ_TempFunction = max(activ_TempFunction,1. _d -10)
46 c
47 RETURN
48 END
49 #endif /*ALLOW_QUOTA*/
50 #endif /*DARWIN*/
51 #endif /*ALLOW_PTRACERS*/
52 c ==================================================================

  ViewVC Help
Powered by ViewVC 1.1.22