Last change
on this file since 5452 was
4368,
checked in by lguez, 2 years ago
|
Sync latest trunk changes to Ocean_skin
|
File size:
936 bytes
|
Line | |
---|
1 | |
---|
2 | ! $Id: $ |
---|
3 | |
---|
4 | MODULE infotrac_phy |
---|
5 | |
---|
6 | USE strings_mod, ONLY: maxlen |
---|
7 | INTEGER, SAVE :: nqtot !--- Tracers nb in dynamics (incl. higher moments + H2O) |
---|
8 | CHARACTER(LEN=maxlen), SAVE :: type_trac !--- Keyword for tracers type |
---|
9 | CHARACTER(LEN=maxlen), SAVE, ALLOCATABLE :: types_trac(:) !--- Parsed version (one or several components name(s)) |
---|
10 | !$OMP THREADPRIVATE(nqtot, type_trac, types_trac) |
---|
11 | |
---|
12 | CONTAINS |
---|
13 | |
---|
14 | SUBROUTINE init_infotrac_phy(nqtot_, type_trac_) |
---|
15 | USE strings_mod, ONLY: strParse |
---|
16 | IMPLICIT NONE |
---|
17 | INTEGER, INTENT(IN) :: nqtot_ |
---|
18 | CHARACTER(LEN=*), INTENT(IN) :: type_trac_ |
---|
19 | CHARACTER(LEN=maxlen) :: modname='init_infotrac_phy' |
---|
20 | |
---|
21 | nqtot = nqtot_ |
---|
22 | IF(strParse(type_trac, '|', types_trac)) CALL abort_physic(modname,'can''t parse "type_trac = '//TRIM(type_trac)//'"',1) |
---|
23 | type_trac = type_trac_ |
---|
24 | |
---|
25 | END SUBROUTINE init_infotrac_phy |
---|
26 | |
---|
27 | END MODULE infotrac_phy |
---|
Note: See
TracBrowser
for help on using the repository browser.