Changeset 2026 for trunk/LMDZ.TITAN/libf/phytitan
- Timestamp:
- Oct 25, 2018, 5:25:58 PM (6 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/phytitan
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/callcorrk.F90
r1947 r2026 461 461 IF( ALLOCATED( tgasref ) ) DEALLOCATE( tgasref ) 462 462 IF( ALLOCATED( pfgasref ) ) DEALLOCATE( pfgasref ) 463 IF( ALLOCATED( gweight ) ) DEALLOCATE( gweight ) 463 464 !$OMP END MASTER 464 465 !$OMP BARRIER -
trunk/LMDZ.TITAN/libf/phytitan/radcommon_h.F90
r1947 r2026 55 55 !!! ALLOCATABLE STUFF SO THAT DIMENSIONS ARE READ in *.dat FILES -- AS 12/2011 56 56 REAL*8, DIMENSION(:,:,:,:,:), ALLOCATABLE :: gasi, gasv 57 REAL*8, DIMENSION(:), ALLOCATABLE :: PGASREF, TGASREF, PFGASREF 57 REAL*8, DIMENSION(:), ALLOCATABLE :: PGASREF, TGASREF, PFGASREF, GWEIGHT 58 58 real*8 FZEROI(L_NSPECTI) 59 59 real*8 FZEROV(L_NSPECTV) … … 73 73 real*8,parameter :: UBARI = 0.5D0 74 74 75 real*8,save :: gweight(L_NGAUSS)76 75 !$OMP THREADPRIVATE(QREFvis,QREFir,omegaREFvis,omegaREFir,& ! gweight read by master in sugas_corrk 77 76 !$OMP tstellar,planckir,PTOP) -
trunk/LMDZ.TITAN/libf/phytitan/radinc_h.F90
r1822 r2026 58 58 ! These are set in sugas_corrk 59 59 ! [uses allocatable arrays] -- AS 12/2011 60 integer :: L_NPREF, L_NTREF, L_REFVAR, L_PINT !L_NPREF, L_NTREF, L_REFVAR, L_PINT read by master in sugas_corrk 61 62 integer, parameter :: L_NGAUSS = 17 60 integer :: L_NPREF, L_NTREF, L_REFVAR, L_PINT, L_NGAUSS !L_NPREF, L_NTREF, L_REFVAR, L_PINT, L_NGAUSS read by master in sugas_corrk 63 61 64 62 integer, parameter :: L_NSPECTI = NBinfrared -
trunk/LMDZ.TITAN/libf/phytitan/sugas_corrk.F90
r1822 r2026 37 37 38 38 integer n, nt, np, nh, ng, nw, m, i 39 integer L_NGAUSScheck40 39 41 40 character(len=200) :: file_id … … 107 106 ! check the array size is correct, load the coefficients 108 107 open(111,file=TRIM(file_path),form='formatted') 109 read(111,*) L_NGAUSScheck 110 if(.not.(L_NGAUSScheck.eq.L_NGAUSS)) then 111 print*,'The size of your radiative transfer g-space array does ' 112 print*,'not match the value given in g.dat, exiting.' 113 call abort 114 endif 108 read(111,*) L_NGAUSS 109 IF( .NOT. ALLOCATED( gweight ) ) ALLOCATE( GWEIGHT(L_NGAUSS) ) 115 110 read(111,*) gweight 116 111 close(111)
Note: See TracChangeset
for help on using the changeset viewer.