Changeset 2026 for trunk/LMDZ.GENERIC
- Timestamp:
- Oct 25, 2018, 5:25:58 PM (6 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r1993 r2026 964 964 IF( ALLOCATED( wrefvar ) ) DEALLOCATE( wrefvar ) 965 965 IF( ALLOCATED( pfgasref ) ) DEALLOCATE( pfgasref ) 966 IF( ALLOCATED( gweight ) ) DEALLOCATE( gweight ) 966 967 !$OMP END MASTER 967 968 !$OMP BARRIER -
trunk/LMDZ.GENERIC/libf/phystd/radcommon_h.F90
r1715 r2026 79 79 !!! ALLOCATABLE STUFF SO THAT DIMENSIONS ARE READ in *.dat FILES -- AS 12/2011 80 80 REAL*8, DIMENSION(:,:,:,:,:), ALLOCATABLE :: gasi, gasv 81 REAL*8, DIMENSION(:), ALLOCATABLE :: PGASREF, TGASREF, WREFVAR, PFGASREF 81 REAL*8, DIMENSION(:), ALLOCATABLE :: PGASREF, TGASREF, WREFVAR, PFGASREF, GWEIGHT 82 82 real*8 FZEROI(L_NSPECTI) 83 83 real*8 FZEROV(L_NSPECTV) … … 129 129 real*8,parameter :: UBARI = 0.5D0 130 130 131 real*8,save :: gweight(L_NGAUSS)132 131 !$OMP THREADPRIVATE(QREFvis,QREFir,omegaREFvis,omegaREFir,& ! gweight read by master in sugas_corrk 133 132 !$OMP tstellar,planckir,PTOP) -
trunk/LMDZ.GENERIC/libf/phystd/radinc_h.F90
r1529 r2026 63 63 ! These are set in sugas_corrk 64 64 ! [uses allocatable arrays] -- AS 12/2011 65 integer :: L_NPREF, L_NTREF, L_REFVAR, L_PINT !L_NPREF, L_NTREF, L_REFVAR, L_PINT read by master in sugas_corrk 66 67 integer, parameter :: L_NGAUSS = 17 65 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 68 66 69 67 integer, parameter :: L_NSPECTI = NBinfrared -
trunk/LMDZ.GENERIC/libf/phystd/sugas_corrk.F90
r1521 r2026 38 38 39 39 integer n, nt, np, nh, ng, nw, m, i 40 integer L_NGAUSScheck41 40 42 41 character(len=200) :: file_id … … 160 159 ! check the array size is correct, load the coefficients 161 160 open(111,file=TRIM(file_path),form='formatted') 162 read(111,*) L_NGAUSScheck 163 if(.not.(L_NGAUSScheck.eq.L_NGAUSS)) then 164 print*,'The size of your radiative transfer g-space array does ' 165 print*,'not match the value given in g.dat, exiting.' 166 call abort 167 endif 161 read(111,*) L_NGAUSS 162 IF( .NOT. ALLOCATED( gweight ) ) ALLOCATE( GWEIGHT(L_NGAUSS) ) 168 163 read(111,*) gweight 169 164 close(111)
Note: See TracChangeset
for help on using the changeset viewer.