source: CPL/oasis3/trunk/src/mod/oasis3/src/mod_string.F90 @ 1677

Last change on this file since 1677 was 1677, checked in by aclsce, 12 years ago

Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).

File size: 5.2 KB
Line 
1MODULE mod_string
2!
3! -- string.h   26-07-95   Version 2.0   Author: Laurent Terray
4!    *******    25-09-96   Version 2.1   Addition of extra time step (nfend)
5!                                        and field integral flag (nintflx)
6!               12-11-97   Version 2.2   Addition of nmxdel
7!               05-09-00   Version 2.5   Remove integral flag nintflx   
8!               18-03-02   Version 2.5   changed in module
9!@
10!@  Contents : set of self consistent strings for each field
11!@  --------
12!@
13!@ First line of SSCS :
14!@ ------------------
15!@
16!@ -- cnaminp : symbolic name of input indirect fields
17!@
18!@ -- cnamout : symbolic name of output indirect fields
19!@
20!@ -- cg_input_field : symbolic name of all input fields
21!@
22!@ -- cg_output_field : symbolic name of all output fields
23!@
24!@ -- numlab : label number of exchanged fields indirectly
25!@
26!@ -- ig_numlab : label number of all exchanged fields
27!@
28!@ -- nfexch : coupling frequency of exchanged indirect fields (in seconds)
29!@
30!@ -- ig_freq : coupling frequency of all exchanged fields (in seconds)
31!@
32!@ -- ig_ntrans : number of analysis performed for each field
33!@
34!@ -- cficinp : restart file name of indirect input fields
35!@
36!@ -- cg_restart_file : restart file name of all input fields 
37!@
38!@ -- ig_nbr_rstfile : number of different restart file
39!@
40!@ -- ig_no_rstfile : restart file number
41!@
42!@ -- cg_name_rstfile : name of restart file corresponding to ig_no_rstfile
43!@
44!@ -- cficout : file name for output field in cases 'PIPE' or 'NONE'
45!@
46!@ -- cg_input_file : file name for input file in cases 'IGNOUT' or 'EXPOUT'
47!@
48!@ -- ig_lag : lag of exported field
49!@
50!@ -- nluninp : logical unit for input field
51!@
52!@ -- nlunout : logical unit for output field
53!@
54!@ -- cstate : field I/O status of indirect fields
55!@
56!@ -- ig_total_state : field I/O status of all the fields
57!@
58!@ -- lg_state : LOGICAL indicating if the field goes through Oasis (.true.)
59!@               or not (.false.)
60!@
61!@ -- ifrqmin : minimum exchange frequency of indirect fields
62!@
63!@ -- ig_total_frqmin :  minimum exchange frequency of all the fields
64!@
65!@ -- ig_number_field : Rank of the field going through oasis in total number
66!@    of fields
67!@
68!@ -- ig_local_trans : Local transformation of fields
69!@
70!@ Second line of SSCS :
71!@ -------------------
72!@
73!@ -- nlonbf : number of longitudes for initial fields
74!@
75!@ -- nlatbf : number of latitudes for initial fields
76!@
77!@ -- nlonaf : number of longitudes for initial fields
78!@
79!@ -- nlataf : number of latitudes for initial fields
80!@
81!@ -- cficbf : root name of specific files for initial fields
82!@
83!@ -- cficaf : root name of specific files for final fields
84!@
85!@ -- ig_grid_nbrbf : grid number associated to a field before interpolation
86!@
87!@ -- ig_grid_nbraf : grid number associated to a field after interpolation
88!@
89!@ -- nseqn  : sequential index of indirect fields
90!@
91!@ -- nlagn  : lag index of indirect fields
92!@
93!@ -- ig_total_nseqn : sequential index of all the fields
94!@
95!@ -- ig_invert: index=1 if INVERT is used for that field
96!@
97!@ -- ig_reverse: index=1 if REVERSE is used for that field
98!@   
99!@ Third line of SSCS :
100!@ ------------------
101!@
102!@ -- canal : names of analysis performed for each field
103!@
104!@ Relation between symbolic name of the field and port number of
105!@ CLIM library :
106!@ 
107!@ -- ig_portin_id : port number of input fields
108!@
109!@ -- ig_portout_id : port number of output fields
110!@
111!  -------------------------------------------------------------------
112!
113  USE mod_kinds_oasis
114  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: numlab, ig_numlab, nfexch, ig_ntrans
115  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: ig_total_ntrans
116  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: nluinp, nluout, nlonbf
117  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: nlatbf, nlonaf, nlataf
118  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: nseqn, ig_total_nseqn
119  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: ig_freq, ig_lag, nlagn 
120  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: ig_invert, ig_reverse
121  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: ig_number_field, ig_no_rstfile
122  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: ig_total_state, ig_local_trans
123  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: ig_portin_id, ig_portout_id
124  INTEGER (kind=ip_intwp_p),DIMENSION(:),ALLOCATABLE :: ig_grid_nbrbf, ig_grid_nbraf
125  INTEGER (kind=ip_intwp_p)                          :: ifrqmin, ig_nbr_rstfile
126  INTEGER (kind=ip_intwp_p)                          :: ig_total_frqmin
127 
128 
129  LOGICAL,DIMENSION(:),ALLOCATABLE :: lg_state
130!
131  CHARACTER(len=8),DIMENSION(:),ALLOCATABLE :: cnaminp, cnamout
132  CHARACTER(len=8),DIMENSION(:,:),ALLOCATABLE :: canal 
133  CHARACTER(len=8),DIMENSION(:),ALLOCATABLE :: cg_name_rstfile, cg_restart_file
134  CHARACTER(len=8),DIMENSION(:),ALLOCATABLE :: cficinp, cficout
135  CHARACTER(len=32),DIMENSION(:),ALLOCATABLE :: cg_input_file
136  CHARACTER(len=8),DIMENSION(:),ALLOCATABLE :: cg_input_field, cg_output_field
137  CHARACTER(len=8),DIMENSION(:),ALLOCATABLE :: cficbf, cficaf, cstate
138  CHARACTER(len=4),DIMENSION(:),ALLOCATABLE :: cga_locatorbf, cga_locatoraf
139
140!     -------------------------------------------------------------------
141END MODULE mod_string
Note: See TracBrowser for help on using the repository browser.