[newchem-cpp] Adding dust model with related parameters#511
Open
aqua-hl wants to merge 20 commits intograckle-project:newchem-cppfrom
Open
[newchem-cpp] Adding dust model with related parameters#511aqua-hl wants to merge 20 commits intograckle-project:newchem-cppfrom
aqua-hl wants to merge 20 commits intograckle-project:newchem-cppfrom
Conversation
Author
|
Note on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dust_modelparameter tochemistry_data(default: 0) to select between dust modelsdust_model = 0: default behavior (runscalc_grain_size_increment_1das usual)dust_model = 1: Harrison dust model — skipscalc_grain_size_increment_1dand uses custom dust growth/destruction routinesdust_growth_and_destruction.hppanddust_growth_and_destruction.cppdust_destruction_eff,sne_coeff,sne_shockspeed,dust_grainsize,dust_growth_densref,dust_growth_tauref,use_sne_fieldKey changes
src/include/grackle_chemistry_data.h/grackle_chemistry_data_fields.def: newdust_modelparameter and dust physics parameterssrc/clib/dust_growth_and_destruction.cpp/.hpp: dust growth and destruction implementationsrc/clib/calc_tdust_3d.cpp,cool1d_multi_g.cpp,dust/lookup_dust_rates1d.hpp: guardcalc_grain_size_increment_1dcalls withdust_model == 0