Changeset 5103 for LMDZ6/branches/Amaury_dev/libf/dyn3dmem/initdynav_loc.F
- Timestamp:
- Jul 23, 2024, 3:29:36 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3dmem/initdynav_loc.F
r5101 r5103 2 2 ! $Id: initdynav_p.F 1279 2009-12-10 09:02:56Z fairhead $ 3 3 4 subroutine initdynav_loc(day0,anne0,tstep,t_ops,t_wrt) 5 6 #ifdef CPP_IOIPSL 4 SUBROUTINE initdynav_loc(day0,anne0,tstep,t_ops,t_wrt) 5 7 6 ! This routine needs IOIPSL 8 7 USE IOIPSL 9 #endif10 8 USE parallel_lmdz 11 9 use Write_field … … 56 54 real tstep, t_ops, t_wrt 57 55 58 #ifdef CPP_IOIPSL59 56 ! This routine needs IOIPSL 60 57 C Variables locales … … 78 75 INTEGER,DIMENSION(2) :: dpl 79 76 INTEGER,DIMENSION(2) :: dhs 80 INTEGER,DIMENSION(2) :: dhe 81 77 INTEGER,DIMENSION(2) :: dhe 78 82 79 INTEGER :: dynhistave_domain_id 83 80 INTEGER :: dynhistvave_domain_id 84 81 INTEGER :: dynhistuave_domain_id 85 82 86 83 if (adjust) return 87 84 … … 92 89 C 93 90 C Appel a histbeg: creation du fichier netcdf et initialisations diverses 94 C 91 C 95 92 96 93 zan = anne0 … … 98 95 CALL ymds2ju(zan, 1, dayref, 0.0, zjulian) 99 96 tau0 = itau_dyn 100 97 101 98 do jj = 1, jjp1 102 99 do ii = 1, iip1 … … 109 106 ! Creation de 3 fichiers pour les differentes grilles horizontales 110 107 ! Restriction de IOIPSL: seulement 2 coordonnees dans le meme fichier 111 ! Grille Scalaire 108 ! Grille Scalaire 112 109 113 110 jjb=jj_begin … … 126 123 CALL flio_dom_set(mpi_size,mpi_rank,ddid,dsg,dsl,dpf,dpl,dhs,dhe, 127 124 . 'box',dynhistave_domain_id) 128 125 129 126 CALL histbeg(dynhistave_file,iip1, rlong(:,1), jjn, 130 127 . rlat(1,jjb:jje), 1, iip1, 1, jjn,tau0, … … 143 140 IF (pole_sud) jjn=jjn-1 144 141 IF (pole_sud) jje=jje-1 145 142 146 143 do jj = jjb, jje 147 144 do ii = 1, iip1 … … 167 164 . zjulian, tstep, vhoriid, 168 165 . histvaveid,dynhistvave_domain_id) 169 166 170 167 ! Grille U 171 168 … … 192 189 CALL flio_dom_set(mpi_size,mpi_rank,ddid,dsg,dsl,dpf,dpl,dhs,dhe, 193 190 . 'box',dynhistuave_domain_id) 194 191 195 192 CALL histbeg(dynhistuave_file,iip1, rlong(:,1), jjn, 196 193 . rlat(1,jjb:jje), 1, iip1, 1, jjn,tau0, 197 194 . zjulian, tstep, uhoriid, 198 195 . histuaveid,dynhistuave_domain_id) 199 200 196 197 201 198 C 202 199 C Appel a histvert pour la grille verticale … … 281 278 CALL histend(histuaveid) 282 279 CALL histend(histvaveid) 283 #else284 write(lunout,*)'initdynav_loc: Needs IOIPSL to function'285 #endif286 ! #endif of #ifdef CPP_IOIPSL287 280 end
Note: See TracChangeset
for help on using the changeset viewer.