Ignore:
Timestamp:
Apr 9, 2020, 6:34:53 PM (5 years ago)
Author:
jvatant
Message:

Set the temperature boundaries and step for Planck function integration as input in callphys.def, for more flexibility.

+ User can now set them by tplanckmin, tplanckmax and dtplanck
+ Default values are a wide range 30-1500K
+ Add a sanity check in callcorrk instead of leaving out-of-bounds planckir indexes.

--JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/radcommon_h.F90

    r2142 r2283  
    11module radcommon_h
    2       use radinc_h, only: L_NSPECTI, L_NSPECTV, NTstar, NTstop, &
     2      use radinc_h, only: L_NSPECTI, L_NSPECTV, NTstart, NTstop, &
    33                          naerkind, nsizemax
    44      implicit none
     
    123123      REAL,SAVE :: tstellar ! Stellar brightness temperature (SW)
    124124
    125       real*8,save :: planckir(L_NSPECTI,NTstop-NTstar+1)
     125      REAL*8, DIMENSION(:,:), ALLOCATABLE, SAVE :: planckir
    126126
    127127      real*8,save :: PTOP
Note: See TracChangeset for help on using the changeset viewer.