1 | MODULE trddyn_oce |
---|
2 | !!====================================================================== |
---|
3 | !! *** trddyn_oce *** |
---|
4 | !! Ocean trends : dynamical trends arrays defined in memory |
---|
5 | !!====================================================================== |
---|
6 | #if defined key_trddyn || defined key_esopa || defined key_trd_vor |
---|
7 | !!---------------------------------------------------------------------- |
---|
8 | !! 'key_trddyn' momentum trend diagnostics |
---|
9 | !!---------------------------------------------------------------------- |
---|
10 | !! * Modules used |
---|
11 | USE par_oce ! ocean parameters |
---|
12 | |
---|
13 | IMPLICIT NONE |
---|
14 | PUBLIC |
---|
15 | |
---|
16 | INTEGER :: & !!! namdia : diagnostics on dynamics and/or tracer trends |
---|
17 | ntrd=10, & |
---|
18 | nctls=0 |
---|
19 | |
---|
20 | REAL(wp) :: & |
---|
21 | tvols, & ! volume of the whole ocean computed at t-points |
---|
22 | tvolu, & ! volume of the whole ocean computed at u-points |
---|
23 | tvolv, & ! volume of the whole ocean computed at v-points |
---|
24 | rpktrd ! potential to kinetic energy conversion |
---|
25 | REAL(wp), DIMENSION(jpi,jpj,jpk,9) :: & |
---|
26 | utrd, & ! trends of the momentum equation |
---|
27 | vtrd |
---|
28 | REAL(wp), DIMENSION(jpi,jpj,2) :: & |
---|
29 | utrd2, & ! trend with the free surface formulation |
---|
30 | vtrd2 |
---|
31 | REAL(wp), DIMENSION(jpi,jpj,4) :: & |
---|
32 | tautrd ! momentum forcing trends |
---|
33 | #else |
---|
34 | !!---------------------------------------------------------------------- |
---|
35 | !! Default case NO momentum trend diagnostics |
---|
36 | !!---------------------------------------------------------------------- |
---|
37 | #endif |
---|
38 | !!---------------------------------------------------------------------- |
---|
39 | END MODULE trddyn_oce |
---|