Changeset 6036 for LMDZ6/branches/ICOLMDZISO_SN
- Timestamp:
- Jan 19, 2026, 4:27:07 PM (8 weeks ago)
- Location:
- LMDZ6/branches/ICOLMDZISO_SN/libf
- Files:
-
- 2 added
- 2 deleted
- 6 edited
-
phylmd/create_etat0_unstruct_mod.F90 (added)
-
phylmd/create_etat0_unstruct_mod.f90 (deleted)
-
phylmd/inifis_mod.f90 (modified) (1 diff)
-
phylmdiso/create_etat0_unstruct_mod.F90 (added)
-
phylmdiso/create_etat0_unstruct_mod.f90 (deleted)
-
phylmdiso/isotopes_mod.F90 (modified) (2 diffs)
-
phylmdiso/isotopes_routines_mod.F90 (modified) (7 diffs)
-
phylmdiso/isotopes_verif_mod.F90 (modified) (2 diffs)
-
phylmdiso/isotrac_mod.F90 (modified) (3 diffs)
-
phylmdiso/physiq_mod.F90 (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/ICOLMDZISO_SN/libf/phylmd/inifis_mod.f90
r5285 r6036 78 78 END IF 79 79 80 CALL init_isotopes 81 80 82 END SUBROUTINE inifis 83 84 85 SUBROUTINE init_isotopes 86 USE infotrac_phy,ONLY : niso, nzone, ntraciso=>ntiso 87 USE isotrac_mod, ONLY: iso_traceurs_init 88 USE isotopes_mod, ONLY: iso_init 89 USE isotopes_verif_mod, ONLY: iso_verif_init 90 IMPLICIT NONE 91 92 ! C Risi: vérifier compatibilité des options isotopiques entre 93 ! dyn3dmem et physiq 94 #ifdef ISO 95 write(*,*) 'ok_isotopes,ntraciso,niso=',niso>0,ntraciso,niso 96 IF(niso <= 0) CALL abort_physic('init_isotopes','options iso incompatibles',1) 97 #ifdef ISOTRAC 98 IF(nzone <= 0) CALL abort_physic('init_isotopes','options isotrac incompatibles',1) 99 #else 100 IF(nzone > 0) CALL abort_physic('init_isotopes','options isotrac incompatibles',1) 101 #endif 102 #else 103 if(niso > 0) CALL abort_physic('init_isotopes','options iso incompatibles',1) 104 #endif 105 106 #ifdef ISO 107 ! initialisations isotopiques 108 #ifdef ISOVERIF 109 write(*,*) 'ok_isotopes=',niso > 0 110 #endif 111 if (niso > 0) call iso_init() 112 #ifdef ISOTRAC 113 IF(nzone > 0) then 114 call iso_traceurs_init() 115 endif 116 #endif 117 #ifdef ISOVERIF 118 call iso_verif_init() 119 #endif 120 #endif 121 122 END SUBROUTINE init_isotopes 81 123 82 124 END MODULE inifis_mod -
LMDZ6/branches/ICOLMDZISO_SN/libf/phylmdiso/isotopes_mod.F90
r5756 r6036 143 143 !$OMP THREADPRIVATE(lat_nucl, lon_nucl, zmin_nucl, zmax_nucl, HTO_nucl) 144 144 145 LOGICAL, SAVE :: using_iso = .FALSE. !--- TRUE isotope version is used 146 !$OMP THREADPRIVATE(using_iso) 145 147 146 148 CONTAINS … … 165 167 INTEGER :: iessai 166 168 169 using_iso=.TRUE. 170 167 171 modname = 'iso_init' 168 172 CALL msg('219: entree', modname) -
LMDZ6/branches/ICOLMDZISO_SN/libf/phylmdiso/isotopes_routines_mod.F90
r5927 r6036 1 #ifdef ISO2 1 ! $Id$ 3 2 MODULE isotopes_routines_mod … … 12972 12971 USE yoethf_mod_h 12973 12972 USE yomcst_mod_h 12974 USE dimensions_mod, ONLY: iim, jjm, llm, ndm12973 !USE dimensions_mod, ONLY: iim, jjm, llm, ndm 12975 12974 implicit none 12976 12975 … … 14461 14460 14462 14461 USE yoethf_mod_h 14463 USE dimensions_mod, ONLY: iim, jjm, llm, ndm14464 USE paramet_mod_h14462 !USE dimensions_mod, ONLY: iim, jjm, llm, ndm 14463 !USE paramet_mod_h 14465 14464 USE yomcst_mod_h 14466 14465 … … 16024 16023 !end verif 16025 16024 16025 #ifdef ISOHTO 16026 16026 ! pour le tritium: initialisation des tableaux d'essais nucléaires: 16027 16027 if (iso_HTO.gt.0) then 16028 16028 CALL table_tritium_nucl() 16029 16029 endif 16030 #endif 16030 16031 16031 16032 RETURN … … 16628 16629 16629 16630 16630 !#ifdef ISOHTO16631 #ifdef ISOHTO 16631 16632 !=================================================================== 16632 16633 ! … … 18521 18522 end subroutine calcul_prod_nucl_HTO 18522 18523 18523 !#endif18524 #endif 18524 18525 !=================================================================== 18525 18526 ! … … 18993 18994 18994 18995 END MODULE isotopes_routines_mod 18995 #endif -
LMDZ6/branches/ICOLMDZISO_SN/libf/phylmdiso/isotopes_verif_mod.F90
r5774 r6036 1 2 #ifdef ISOVERIF3 1 ! $Id: $ 4 2 … … 4329 4327 END MODULE isotopes_verif_mod 4330 4328 4331 #endif4332 ! endif ISOVERIF4333 -
LMDZ6/branches/ICOLMDZISO_SN/libf/phylmdiso/isotrac_mod.F90
r5754 r6036 1 #ifdef ISO2 #ifdef ISOTRAC3 4 1 MODULE isotrac_mod 5 2 USE infotrac_phy, ONLY: niso, ntiso, nzone, delPhase … … 161 158 modname = 'iso_traceurs_init' 162 159 lerr = iso_eau == 0 163 IF(lerr) CALL abort_physic s(TRIM(modname)//' 18', 'isotrac does not work without H216O isotope', 1)160 IF(lerr) CALL abort_physic(TRIM(modname)//' 18', 'isotrac does not work without H216O isotope', 1) 164 161 165 162 !--- Initialize … … 677 674 678 675 END MODULE isotrac_mod 679 #endif680 #endif -
LMDZ6/branches/ICOLMDZISO_SN/libf/phylmdiso/physiq_mod.F90
r5927 r6036 168 168 & modif_ratqs,essai_convergence,iso_init,ridicule_rain,tnat, & 169 169 & ridicule,ridicule_snow 170 USE isotopes_routines_mod, ONLY: iso_tritium,dispatch,together 170 USE isotopes_routines_mod, ONLY: dispatch,together 171 #ifdef ISOHTO 172 USE isotopes_routines_mod, ONLY: iso_tritium 173 #endif 171 174 #ifdef ISOVERIF 172 175 USE isotopes_verif_mod, ONLY: errmax,errmaxrel, & … … 1775 1778 itapwk = 0 1776 1779 1777 ! C Risi: vérifier compatibilité des options isotopiques entre 1778 ! dyn3dmem et physiq 1779 #ifdef ISO 1780 WRITE(*,*) 'physiq 1846a: ok_isotopes,ntraciso,niso=',niso>0,ntraciso,niso 1781 IF (niso <= 0) CALL abort_physic('physiq 1756','options iso incompatibles',1) 1782 #ifdef ISOTRAC 1783 IF (nzone <= 0) CALL abort_physic('physiq 1758','options isotrac incompatibles',1) 1784 #else 1785 IF (nzone > 0) CALL abort_physic('physiq 1762','options isotrac incompatibles',1) 1786 #endif 1787 #else 1788 IF (niso > 0) CALL abort_physic('physiq 1772','options iso incompatibles',1) 1789 #endif 1790 1791 #ifdef ISO 1792 ! initialisations isotopiques 1793 #ifdef ISOVERIF 1794 WRITE(*,*) 'physiq 1366: call iso_init' 1795 WRITE(*,*) 'ok_isotopes=',niso > 0 1796 #endif 1797 IF (niso > 0) CALL iso_init() 1798 #ifdef ISOTRAC 1799 IF (nzone > 0) THEN 1800 WRITE(*,*) 'physiq 1416: call iso_traceurs_init' 1801 CALL iso_traceurs_init() 1802 ENDIF 1803 #endif 1780 1781 !!ym for displaced in iniphysic for early initialization 1782 1783 !! C Risi: vérifier compatibilité des options isotopiques entre 1784 !! dyn3dmem et physiq 1785 !#ifdef ISO 1786 ! write(*,*) 'physiq 1846a: ok_isotopes,ntraciso,niso=',niso>0,ntraciso,niso 1787 ! IF(niso <= 0) CALL abort_physic('physiq 1756','options iso incompatibles',1) 1788 !#ifdef ISOTRAC 1789 ! IF(nzone <= 0) CALL abort_physic('physiq 1758','options isotrac incompatibles',1) 1790 !#else 1791 ! IF(nzone > 0) CALL abort_physic('physiq 1762','options isotrac incompatibles',1) 1792 !#endif 1793 !#else 1794 ! if(niso > 0) CALL abort_physic('physiq 1772','options iso incompatibles',1) 1795 !#endif 1796 ! 1797 !#ifdef ISO 1798 ! ! initialisations isotopiques 1799 !#ifdef ISOVERIF 1800 ! write(*,*) 'physiq 1366: call iso_init' 1801 ! write(*,*) 'ok_isotopes=',niso > 0 1802 !#endif 1803 ! if (niso > 0) call iso_init() 1804 !#ifdef ISOTRAC 1805 !IF(nzone > 0) then 1806 ! write(*,*) 'physiq 1416: call iso_traceurs_init' 1807 ! call iso_traceurs_init() 1808 !endif 1809 !#endif 1804 1810 !write(*,*) 'gcm 265: ntraciso=',ntraciso 1805 #ifdef ISOVERIF 1806 WRITE(*,*) 'physiq 1421: call iso_verif_init' 1807 CALL iso_verif_init() 1808 #endif 1809 #endif 1811 !#ifdef ISOVERIF 1812 ! write(*,*) 'physiq 1421: call iso_verif_init' 1813 ! call iso_verif_init() 1814 !#endif 1815 !#endif 1816 1810 1817 1811 1818 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 2070 2077 IF (CPPKEY_REPROBUS) THEN 2071 2078 #ifdef ISO 2072 CALL abort_ gcm("physiq_mod", "StratAer isn't ISO-compatible for now, 07/24",1)2079 CALL abort_physic("physiq_mod", "StratAer isn't ISO-compatible for now, 07/24",1) 2073 2080 #else 2074 2081 CALL strataer_init … … 2079 2086 IF (CPPKEY_STRATAER) THEN 2080 2087 #ifdef ISO 2081 CALL abort_ gcm("physiq_mod", "StratAer isn't ISO-compatible for now, 07/24",1)2088 CALL abort_physic("physiq_mod", "StratAer isn't ISO-compatible for now, 07/24",1) 2082 2089 #else 2083 2090 CALL strataer_init … … 5998 6005 IF (CPPKEY_STRATAER) THEN 5999 6006 #ifdef ISO 6000 CALL abort_ gcm("physiq_mod", "StratAer isn't ISO-compatible for now, 07/24",1)6007 CALL abort_physic("physiq_mod", "StratAer isn't ISO-compatible for now, 07/24",1) 6001 6008 #endif 6002 6009 !--compute stratospheric mask … … 7020 7027 & 'physiq 5595: avant appel tritium',ntraciso,klon,klev) 7021 7028 #endif 7029 #ifdef ISOHTO 7022 7030 call iso_tritium(paprs,pplay, & 7023 7031 & zphi,phys_tstep, & … … 7026 7034 & d_xt_decroiss, & 7027 7035 & xt_seri) 7036 #endif 7028 7037 #ifdef ISOVERIF 7029 7038 call iso_verif_noNaN_vect2D(xt_seri, & … … 7681 7690 7682 7691 ! close xios physiq context (call LMDZ) 7683 IF (is_omp_master ) CALL xios_context_finalize7692 IF (is_omp_master .and. grid_type==unstructured) CALL xios_context_finalize 7684 7693 ENDIF 7685 7694
Note: See TracChangeset
for help on using the changeset viewer.
