/[MITgcm]/MITgcm_contrib/sannino/OASIS_3.0_Coupler/pkg/OASIS.h
ViewVC logotype

Contents of /MITgcm_contrib/sannino/OASIS_3.0_Coupler/pkg/OASIS.h

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


Revision 1.1 - (show annotations) (download)
Thu Jul 20 21:08:16 2006 UTC (19 years ago) by sannino
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
o Adding OASIS package
o Adding grid refinement package

1 C $Header: /u/gcmpack/MITgcm/pkg/oasis/OASIS.h,v 1.0 2005/07/18 19:31:14 gianmria sannino $
2 C $Name: $
3
4 cc#ifdef ALLOW_OASIS non metterlo MOLTO pericoloso!!
5
6 CBOP
7 C !ROUTINE: OASIS.h
8
9 C !DESCRIPTION: \bv
10 C /==========================================================\
11 C | OASIS.h |
12 C | o Basic header for OASIS coupler |
13 C | Contains all OASIS field declarations. |
14 C \==========================================================/
15
16 C
17 C MAX_FLD_OUT - Max no. of fields sent to OASIS
18 C MAX_FLD_IN - Max no. of fields received from OASIS
19 INTEGER MAX_FLD_OUT
20 PARAMETER ( MAX_FLD_OUT = 256 )
21 INTEGER MAX_FLD_IN
22 PARAMETER ( MAX_FLD_IN = 256 )
23
24 C \ev
25 CEOP
26 COMMON /OASIS_INITIAL/
27 &ierror,il_mparout,
28 &il_comp_id,il_commlocal,
29 &il_nbtotproc,il_nbcplproc,
30 &ll_comparal
31 INTEGER ierror
32 INTEGER il_mparout ! Unit of log file
33 INTEGER il_comp_id ! Component ID
34 INTEGER il_commlocal ! Component internal communicator
35 INTEGER il_nbtotproc ! Total number of processes
36 INTEGER il_nbcplproc ! Number of processes involved in the coupling
37 LOGICAL ll_comparal ! Logical true if component is parallel and if all process communicates with Oasis.
38
39 COMMON /OASIS_CHAR/cp_modnam
40 CHARACTER*6 cp_modnam
41 CHARACTER*8 fld_out(MAX_FLD_OUT) ! Symb names of fields sent
42 CHARACTER*8 fld_in(MAX_FLD_IN) ! Symb names of field received
43
44 COMMON /OASIS_PARTITION/
45 &il_length,il_part_id
46 INTEGER il_length !Size of partial field for each process
47 INTEGER il_part_id ! Local partition ID
48
49 COMMON /OASIS_FIELDS/
50 &nfldout,nfldin,il_var_id_out,il_var_id_in
51 INTEGER nfldout !Number of fields sent
52 INTEGER nfldin !Number of fields received
53 INTEGER, DIMENSION(MAX_FLD_OUT) :: il_var_id_out ! ID for fields sent
54 INTEGER, DIMENSION(MAX_FLD_IN) :: il_var_id_in ! ID for fields received
55
56 cgm(
57 c _RL TauXu_OASIS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
58 c _RL TauYu_OASIS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
59 c _RL TauXv_OASIS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
60 c _RL TauYv_OASIS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
61 c _RL nonSolarHF_OASIS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
62
63
64 c _OASIS_RL oasis_b (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
65
66
67 c COMMON /oasis/ OASIS1var,oasis_b
68
69 C OASIS parameters
70 c _RL OASIS_A
71
72 c- COMMON /OASIS_PARAMS/ OASIS_A
73 cgm)
74
75
76
77
78 cc#endif /* ALLOW_OASIS */
79
80
81 CEH3 ;;; Local Variables: ***
82 CEH3 ;;; mode:fortran ***
83 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22