Changeset 5160 for LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver
- Timestamp:
- Aug 3, 2024, 2:56:58 PM (3 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_aerosol_optics_description.F90
r5159 r5160 33 33 34 34 ! 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) 37 37 ! Indicate preferred aerosol optical model, after which further 38 38 ! calls will prefer one particular model 39 print*, 'preferred_optical_model(DD,Fouquart)'39 PRINT *, 'preferred_optical_model(DD,Fouquart)' 40 40 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") 44 44 ! 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) 47 47 48 48 end program test_aerosol_optics_description -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_fast_expm.F90
r4773 r5160 18 18 call fast_expm_exchange_3(1,1,a(1:1),b(1:1),c(1:1),d(1:1),r) 19 19 20 print*, r21 print*, 0.000000122 print*, epsilon(1.0_jprb)20 PRINT *, r 21 PRINT *, 0.0000001 22 PRINT *, epsilon(1.0_jprb) 23 23 24 24 end program test_fast_expm -
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/driver/test_random_number_generator.F90
r5158 r5160 19 19 integer :: jl 20 20 21 print*, 'working_fp_precision = ', jprb21 PRINT *, 'working_fp_precision = ', jprb 22 22 23 23 if (IRngType == IRngNative) then 24 print*, "rng_type = 'native'"24 PRINT *, "rng_type = 'native'" 25 25 else 26 print*, "rng_type = 'native'"26 PRINT *, "rng_type = 'native'" 27 27 end if 28 28 … … 30 30 & nmaxstreams=streammax) 31 31 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), ' ]' 33 33 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), ' ]' 36 36 end do 37 37
Note: See TracChangeset
for help on using the changeset viewer.