- Timestamp:
- Jun 17, 2022, 5:49:22 PM (2 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r4170 r4172 288 288 nbtr = nqtrue-COUNT(delPhase(tracers(:)%gen0Name) == 'H2O' & 289 289 .AND. tracers(:)%component == 'lmdz') !--- Number of tracers passed to phytrac 290 #ifdef INCA 291 nqINCA = COUNT(tracers(:)%component == 'inca') 292 #endif 290 293 lerr = getKey('hadv', hadv, ky=tracers(:)%keys) 291 294 lerr = getKey('vadv', vadv, ky=tracers(:)%keys) -
LMDZ6/trunk/libf/dyn3dmem/dynredem_loc.F90
r4170 r4172 15 15 NF90_64BIT_OFFSET 16 16 USE dynredem_mod, ONLY: cre_var, put_var, err, modname, fil 17 USE comvert_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt,pa,preff,&18 nivsig,nivsigs17 USE comvert_mod, ONLY: ap, bp, presnivs, pa, preff, nivsig, nivsigs,& 18 aps,bps,pseudoalt 19 19 USE comconst_mod, ONLY: cpp, daysec, dtvr, g, kappa, omeg, rad 20 20 USE logic_mod, ONLY: fxyhypb, ysinus … … 37 37 !=============================================================================== 38 38 ! Local variables: 39 INTEGER :: iq , l39 INTEGER :: iq 40 40 INTEGER, PARAMETER :: length=100 41 41 REAL :: tab_cntrl(length) !--- RUN PARAMETERS TABLE … … 45 45 INTEGER :: indexID 46 46 INTEGER :: rlonuID, rlonvID, rlatuID, rlatvID 47 INTEGER :: sID, sigID, nID, vID,timID47 INTEGER :: sID, sigID, nID, timID 48 48 INTEGER :: yyears0, jjour0, mmois0 49 REAL :: z an0, zjulian, hours49 REAL :: zjulian, hours 50 50 !=============================================================================== 51 51 modname='dynredem0'; fil=fichnom … … 145 145 146 146 !--- Define fields saved later 147 WRITE(unites,"('days since ',i4,'-',i2.2,'-',i2.2,' 00:00:00')") ,&147 WRITE(unites,"('days since ',i4,'-',i2.2,'-',i2.2,' 00:00:00')") & 148 148 yyears0,mmois0,jjour0 149 149 CALL cre_var(nid,"temps","Temps de simulation",[timID],unites) … … 202 202 !=============================================================================== 203 203 ! Local variables: 204 INTEGER :: l,iq, nid, vID, ierr, nid_trac, vID_trac204 INTEGER :: iq, nid, vID, ierr, nid_trac, vID_trac 205 205 INTEGER, SAVE :: nb=0 206 206 INTEGER, PARAMETER :: length=100 … … 213 213 IF(mpi_rank==0) THEN !++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 214 214 modname='dynredem1_loc'; fil=fichnom 215 fil=fichnom216 215 CALL err(NF90_OPEN(fil,NF90_WRITE,nid),"open",fil) 217 216 -
LMDZ6/trunk/libf/dyn3dmem/leapfrog_loc.F
r4170 r4172 1519 1519 1520 1520 #ifdef INCA 1521 if (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) then 1522 call finalize_inca 1523 endif 1521 if (ANY(types_trac == 'inca') .OR. & 1522 & ANY(types_trac == 'inco')) CALL finalize_inca 1524 1523 #endif 1525 1524 #ifdef REPROBUS 1526 if (ANY(types_trac == 'repr')) then 1527 call finalize_reprobus 1528 endif 1525 if (ANY(types_trac == 'repr')) CALL finalize_reprobus 1529 1526 #endif 1530 1527 … … 1572 1569 1573 1570 #ifdef INCA 1574 if (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) then 1575 call finalize_inca 1576 endif 1571 if (ANY(types_trac == 'inca') .OR. & 1572 & ANY(types_trac == 'inco')) CALL finalize_inca 1577 1573 #endif 1578 1574 #ifdef REPROBUS 1579 if (ANY(types_trac == 'repr')) then 1580 call finalize_reprobus 1581 endif 1575 if (ANY(types_trac == 'repr')) CALL finalize_reprobus 1582 1576 #endif 1583 1577 … … 1743 1737 1744 1738 #ifdef INCA 1745 if (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) then 1746 call finalize_inca 1747 endif 1739 if (ANY(types_trac == 'inca') .OR. & 1740 & ANY(types_trac == 'inco')) CALL finalize_inca 1748 1741 #endif 1749 1742 #ifdef REPROBUS 1750 if (ANY(types_trac == 'repr')) then 1751 call finalize_reprobus 1752 endif 1743 if (ANY(types_trac == 'repr')) CALL finalize_reprobus 1753 1744 #endif 1754 1745 … … 1854 1845 1855 1846 #ifdef INCA 1856 if (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) then 1857 call finalize_inca 1858 endif 1847 if (ANY(types_trac == 'inca') .OR. & 1848 & ANY(types_trac == 'inco')) CALL finalize_inca 1859 1849 #endif 1860 1850 #ifdef REPROBUS 1861 if (ANY(types_trac == 'repr')) then 1862 call finalize_reprobus 1863 endif 1851 if (ANY(types_trac == 'repr')) CALL finalize_reprobus 1864 1852 #endif 1865 1853 -
LMDZ6/trunk/libf/phy_common/physics_distribution_mod.F90
r4170 r4172 37 37 #endif 38 38 39 #ifdef REPROBUS 39 40 ! Initialization of Reprobus 40 IF (ANY(types_trac == 'repr')) THEN 41 #ifdef REPROBUS 42 CALL Init_chem_rep_phys(klon_omp,nbp_lev) 41 IF (ANY(types_trac == 'repr')) CALL Init_chem_rep_phys(klon_omp,nbp_lev) 42 END IF 43 43 #endif 44 END IF45 44 46 45 !$OMP END PARALLEL … … 71 70 ! CALL Init_dimphy(klon_omp,nbp_lev) 72 71 ! 72 !#ifdef REPROBUS 73 73 !! Initialization of Reprobus 74 ! IF (ANY(types_trac == 'repr')) THEN 75 !#ifdef REPROBUS 76 ! CALL Init_chem_rep_phys(klon_omp,nbp_lev) 74 ! IF (ANY(types_trac == 'repr')) CALL Init_chem_rep_phys(klon_omp,nbp_lev) 75 ! END IF 77 76 !#endif 78 ! END IF79 77 ! 80 78 !!$OMP END PARALLEL -
LMDZ6/trunk/libf/phylmd/infotrac_phy.F90
r4170 r4172 106 106 CHARACTER(LEN=maxlen), SAVE :: type_trac !--- Keyword for tracers type 107 107 CHARACTER(LEN=maxlen), SAVE, ALLOCATABLE :: types_trac(:) !--- Keyword for tracers type 108 109 108 !$OMP THREADPRIVATE(nqtot, nbtr, nqo, nbIso, nqtottr, nqCO2, type_trac, types_trac) 110 109
Note: See TracChangeset
for help on using the changeset viewer.