Skip to content

Commit

Permalink
fix test specfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jcurtis2 committed May 16, 2024
1 parent 5d6668f commit 359e9cd
Show file tree
Hide file tree
Showing 32 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/partmc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ subroutine partmc_part(file)
end if

if (run_part_opt%do_tchem) then
call pmc_tchem_initialize(tchem_config_filename, gas_data, gas_state, aero_data)
call pmc_tchem_initialize(tchem_config_filename, gas_data, gas_state_init, aero_data)
end if

! re-initialize RNG with the given seed
Expand Down
2 changes: 2 additions & 0 deletions src/tchem_interface.F90
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ subroutine pmc_tchem_initialize(config_filename, gas_data, gas_state, aero_data)

call gas_state_set_size(gas_state, nSpec)


call TChem_getSpeciesNames()
! name of gas species
!do i = 1,nSpec
! gas_data%name(i) = "H2O"
Expand Down
1 change: 1 addition & 0 deletions test/additive/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 60 # output interval (0 disables) (s)
t_progress 60 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/average/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 600 # output interval (0 disables) (s)
t_progress 600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/bidisperse/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 10 # output interval (0 disables) (s)
t_progress 60 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/brownian/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 21600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/camp/camp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem yes # whether to use CAMP for chemistry
camp_config config.json
do_tchem no

gas_init gas_init.dat # initial gas concentrations

Expand Down
1 change: 1 addition & 0 deletions test/condense/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 10 # output interval (0 disables) (s)
t_progress 60 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/emission/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 1200 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/fractal/run_part_brown_cont_df_1_8_restart.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 5000 # output interval (0 disables) (s)
t_progress 1000 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

temp_profile temp_cont.dat # temperature profile file
pressure_profile pressure.dat # pressure profile file
Expand Down
1 change: 1 addition & 0 deletions test/fractal/run_part_brown_cont_df_1_8_upto1000s.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 50 # output interval (0 disables) (s)
t_progress 10 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/fractal/run_part_brown_free_df_2_4_restart.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 5000 # output interval (0 disables) (s)
t_progress 1000 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

temp_profile temp_free.dat # temperature profile file
pressure_profile pressure.dat # pressure profile file
Expand Down
1 change: 1 addition & 0 deletions test/fractal/run_part_brown_free_df_2_4_upto1000s.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 50 # output interval (0 disables) (s)
t_progress 10 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/loss/run_chamber_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/loss/run_constant_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 600 # output interval (0 disables) (s)
t_progress 600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/loss/run_drydep_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 21600 # output interval (0 disables) (s)
t_progress 14400 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/loss/run_volume_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 60 # output interval (0 disables) (s)
t_progress 60 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/mixing_state/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 1 # output interval (0 disables) (s)
t_progress 1 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas concentrations
Expand Down
1 change: 1 addition & 0 deletions test/mosaic/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/mosaic/run_part_restarted.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

temp_profile temp.dat # temperature profile file
pressure_profile pressure.dat # pressure profile file
Expand Down
1 change: 1 addition & 0 deletions test/nucleate/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 60 # output interval (0 disables) (s)
t_progress 600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/parallel/run_part_parallel_dist.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/parallel/run_part_parallel_dist_single.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/parallel/run_part_parallel_mix.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/parallel/run_part_serial.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 3600 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/sedi/run_part.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ t_output 300 # output interval (0 disables) (s)
t_progress 60 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/weighting/run_part_flat.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 1200 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/weighting/run_part_flat_source.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 1200 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/weighting/run_part_flat_specified.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 1200 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/weighting/run_part_nummass.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 1200 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/weighting/run_part_nummass_source.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 1200 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down
1 change: 1 addition & 0 deletions test/weighting/run_part_nummass_specified.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ t_output 1200 # output interval (0 disables) (s)
t_progress 3600 # progress printing interval (0 disables) (s)

do_camp_chem no # whether to run the campible chemistry module
do_tchem no

gas_data gas_data.dat # file containing gas data
gas_init gas_init.dat # initial gas mixing ratios
Expand Down

0 comments on commit 359e9cd

Please sign in to comment.