Ignore:
Timestamp:
Aug 3, 2024, 2:56:58 PM (5 months ago)
Author:
abarral
Message:

Put .h into modules

Location:
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_aerosol_optics_description.F90

    r5159 r5160  
    3333
    3434  ! These two should issue a warning that the aerosol type is ambiguous
    35   print *, 'DD: ', aer_desc%get_index('DD',.false.)
    36   print *, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2)
     35  PRINT *, 'DD: ', aer_desc%get_index('DD',.false.)
     36  PRINT *, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2)
    3737  ! Indicate preferred aerosol optical model, after which further
    3838  ! calls will prefer one particular model
    39   print *, 'preferred_optical_model(DD,Fouquart)'
     39  PRINT *, 'preferred_optical_model(DD,Fouquart)'
    4040  call aer_desc%preferred_optical_model('DD','Fouquart')
    41   print *, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2)
    42   print *, 'DD (bin=2,model=Woodward): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward")
    43   print *, 'DD (bin=2,model=Woodward2001): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward2001")
     41  PRINT *, 'DD (bin=2): ', aer_desc%get_index('DD',.false.,ibin=2)
     42  PRINT *, 'DD (bin=2,model=Woodward): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward")
     43  PRINT *, 'DD (bin=2,model=Woodward2001): ', aer_desc%get_index('DD',.false.,ibin=2,optical_model_str="Woodward2001")
    4444  ! This should fail to find a match, returning zero
    45   print *, 'DD (model=Nobody): ', aer_desc%get_index('DD',.false.,optical_model_str="Nobody")
    46   print *, 'SS (bin=3): ', aer_desc%get_index('SS',.true.,ibin=3)
     45  PRINT *, 'DD (model=Nobody): ', aer_desc%get_index('DD',.false.,optical_model_str="Nobody")
     46  PRINT *, 'SS (bin=3): ', aer_desc%get_index('SS',.true.,ibin=3)
    4747
    4848end program test_aerosol_optics_description
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_fast_expm.F90

    r4773 r5160  
    1818  call fast_expm_exchange_3(1,1,a(1:1),b(1:1),c(1:1),d(1:1),r)
    1919
    20   print *, r
    21   print *, 0.0000001
    22   print *, epsilon(1.0_jprb)
     20  PRINT *, r
     21  PRINT *, 0.0000001
     22  PRINT *, epsilon(1.0_jprb)
    2323
    2424end program test_fast_expm
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_random_number_generator.F90

    r5158 r5160  
    1919  integer :: jl
    2020
    21   print *, 'working_fp_precision = ', jprb
     21  PRINT *, 'working_fp_precision = ', jprb
    2222
    2323  if (IRngType == IRngNative) then
    24     print *, "rng_type = 'native'"
     24    PRINT *, "rng_type = 'native'"
    2525  else
    26     print *, "rng_type = 'native'"
     26    PRINT *, "rng_type = 'native'"
    2727  end if
    2828 
     
    3030       &                                  nmaxstreams=streammax)
    3131  DO jl = 1,1
    32     print *, 'initial_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]'
     32    PRINT *, 'initial_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]'
    3333    call random_number_generator%uniform_distribution(vec)
    34     print *, 'uniform_deviates = [ ', vec, ' ]'
    35     print *, 'final_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]'
     34    PRINT *, 'uniform_deviates = [ ', vec, ' ]'
     35    PRINT *, 'final_state = [ ', int(random_number_generator%istate(1:streammax),jpib), ' ]'
    3636  end do
    3737
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/lmdz/readaerosolstrato_ecrad.F90

    r5159 r5160  
    124124!--check mth_cur
    125125        IF (mth_cur.LT.1.OR.mth_cur.GT.12) THEN
    126           print *,'probleme avec le mois dans readaerosolstrat =', mth_cur
     126          PRINT *,'probleme avec le mois dans readaerosolstrat =', mth_cur
    127127        ENDIF
    128128
     
    148148        IF (grid_type/=unstructured) THEN
    149149           IF (n_lat.NE.nbp_lat) THEN
    150              print *, 'latitude=', n_lat, nbp_lat
     150             PRINT *, 'latitude=', n_lat, nbp_lat
    151151             abort_message='Le nombre de lat n est pas egal a nbp_lat'
    152152             CALL abort_physic(modname,abort_message,1)
     
    165165        CALL nf95_gw_var(ncid_in, varid, wav)
    166166        n_wav = size(wav)
    167         print *, 'WAV aerosol strato=', n_wav, wav
     167        PRINT *, 'WAV aerosol strato=', n_wav, wav
    168168!        IF (n_wav.NE.config%n_bands_sw) THEN
    169169!           abort_message='Le nombre de wav n est pas egal a config%n_bands_sw'
     
    178178        CALL nf95_inq_varid(ncid_in, "TAU_SUN", varid)
    179179        ncerr = nf90_get_var(ncid_in, varid, tauaerstrat)
    180         print *,'code erreur readaerosolstrato=', ncerr, varid
     180        PRINT *,'code erreur readaerosolstrato=', ncerr, varid
    181181
    182182!--reading stratospheric aerosol omega per layer
    183183        CALL nf95_inq_varid(ncid_in, "OME_SUN", varid)
    184184        ncerr = nf90_get_var(ncid_in, varid, pizaerstrat)
    185         print *,'code erreur readaerosolstrato=', ncerr, varid
     185        PRINT *,'code erreur readaerosolstrato=', ncerr, varid
    186186
    187187!--reading stratospheric aerosol g per layer
    188188        CALL nf95_inq_varid(ncid_in, "GGG_SUN", varid)
    189189        ncerr = nf90_get_var(ncid_in, varid, cgaerstrat)
    190         print *,'code erreur readaerosolstrato sw=', ncerr, varid
     190        PRINT *,'code erreur readaerosolstrato sw=', ncerr, varid
    191191
    192192        CALL nf95_close(ncid_in)
     
    256256        CALL nf95_gw_var(ncid_in, varid, wav)
    257257        n_wav = size(wav)
    258         print *, 'WAV aerosol strato=', n_wav, wav
     258        PRINT *, 'WAV aerosol strato=', n_wav, wav
    259259!        IF (n_wav.NE.config%n_bands_lw) THEN
    260260!           abort_message='Le nombre de wav n est pas egal a config%n_bands_lw'
     
    271271        CALL nf95_inq_varid(ncid_in, "TAU_EAR", varid)
    272272        ncerr = nf90_get_var(ncid_in, varid, taulwaerstrat)
    273         print *,'code erreur readaerosolstrato lw=', ncerr, varid
     273        PRINT *,'code erreur readaerosolstrato lw=', ncerr, varid
    274274
    275275! add/mod ThL
     
    278278        CALL nf95_inq_varid(ncid_in, "OME_EAR", varid)
    279279        ncerr = nf90_get_var(ncid_in, varid, pizlwaerstrat)
    280         print *,'code erreur readaerosolstrato lw=', ncerr, varid
     280        PRINT *,'code erreur readaerosolstrato lw=', ncerr, varid
    281281
    282282!--reading stratospheric aerosol g per layer
    283283        CALL nf95_inq_varid(ncid_in, "GGG_EAR", varid)
    284284        ncerr = nf90_get_var(ncid_in, varid, cglwaerstrat)
    285         print *,'code erreur readaerosolstrato lw=', ncerr, varid
     285        PRINT *,'code erreur readaerosolstrato lw=', ncerr, varid
    286286
    287287        CALL nf95_close(ncid_in)
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/radiation/radiation_monochromatic.F90

    r5159 r5160  
    293293             &  ', longwave optical depth = ', &
    294294             &  sum(od_lw_cloud(1,:,jcol)*cloud%fraction(jcol,:))
    295         !    print *, 'LWP = ', sum(lwp_kg_m2(:,istartcol)*cloud%fraction(istartcol,:))
     295        !    PRINT *, 'LWP = ', sum(lwp_kg_m2(:,istartcol)*cloud%fraction(istartcol,:))
    296296      end do
    297297    end if
Note: See TracChangeset for help on using the changeset viewer.