-
Notifications
You must be signed in to change notification settings - Fork 36
Feedback overhaul #386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mabruzzo
wants to merge
165
commits into
cholla-hydro:dev
Choose a base branch
from
mabruzzo:s99_f-feedback
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5,911
−1,270
Open
Feedback overhaul #386
Changes from all commits
Commits
Show all changes
165 commits
Select commit
Hold shift + click to select a range
95f140a
shifted things around so that feedback is now executed after hydro.
mabruzzo c527b7e
consolidate Apply_Unresolved_SN and Apply_Wind
mabruzzo d779f79
Add support for running resolved SN without DE formalism. Also fixed …
mabruzzo 1828a48
partially factored out s99-table parsing.
mabruzzo c2c908c
Finished factoring out s99 table-parsing.
mabruzzo f02486b
add some explanatory comments to feedback::Cluster_Feedback
mabruzzo cc8684b
removed the option to rewind feedback.
mabruzzo 270d65d
further simplifying feedback::Cluster_Feedback
mabruzzo db3a306
Restructured quite a bit more of feedback::Cluster_Feedback
mabruzzo 30a1e1b
altered feedback::Cluster_Feedback so that it no longer returns any v…
mabruzzo 9f87227
mostly factored out new SNRateCalc class
mabruzzo fcef514
Mostly factored out new SWRateCalc class
mabruzzo 4ee6023
Introduce ClusterFeedbackMethod. It's not doing much quite yet.
mabruzzo 5d4bb29
convert feedback::Init_State and feedback::Init_Wind_state into
mabruzzo 50daeae
removing Calc_Timestep from feedback routines.
mabruzzo b86e63c
finished removing the time_direction variable from feedback kernel.
mabruzzo a9ce37a
remove the loop variable.
mabruzzo 04320ed
finished excising dti from feedback kernels.
mabruzzo 6c642db
removed the prev_dens ptr from feedback
mabruzzo 94f0941
consolidated named feedback_info indices.
mabruzzo 517ce54
unhooked stellar-winds from feedback scheme.
mabruzzo 7e3374f
Consolidate Adjust_Cluster_Mass_Kernel into Cluster_Feedback_Kernel
mabruzzo 06273d0
fixed a minor bug in the accumulation of summary statistics.
mabruzzo eb44db2
consolidate Set_Ave_Density_Kernel with Cluster_Feedback_Kernel
mabruzzo f6ae5fa
factored out calculation of the number of SN per cycle.
mabruzzo 8c8d418
add option to run with single sn
mabruzzo 6226ed4
added the ability to enable/disable feedback or only model a single s…
mabruzzo 223478d
a bunch of refactoring. Nothing algorithmic changed here. Unfortunate…
mabruzzo fbdc5ca
factor out the reduction from Cluster_Feedback_Kernel.
mabruzzo 38db26f
removed the Cluster_Feedback_Helper function. It was effectively cons…
mabruzzo 943e543
A bunch of restructuring. We now support no-feedback, resolved-only, …
mabruzzo b1d5468
factoring out and refactoring CIC stencil in feedback.
mabruzzo f38e8b7
intermediate commit.
mabruzzo f394ef0
incremental commit
mabruzzo 05bef1b
slight tweak
mabruzzo 74b3163
lightly refactored Apply_Energy_Momentum_Deposition.
mabruzzo ec3f0c4
reduced the number of arguments passed to apply_feedback.
mabruzzo 2a4e3d6
some more changes.
mabruzzo a13abef
add experimental support for larger stencil.
mabruzzo 5110840
started passing around particle velocities (they're not actually used…
mabruzzo dd9a6da
introduced the ParticleProps and FieldSpatialProps structs for the pu…
mabruzzo 26149b9
refactor so that feedback_models don't need get passed any particle a…
mabruzzo 86b47ef
consolidated some feedback-kernel args into CycleProps and deleted th…
mabruzzo da75c21
refactor feedback-kernels to use grid-strided for-loops.
mabruzzo 4827ebf
some more shuffling and preparation for new tests.
mabruzzo a707406
laid ground-work for OverlapScheduler.
mabruzzo 6cc8b78
start using cooperative launch
mabruzzo 8ec701d
added for_each_possible_overlap method to each stencil.
mabruzzo 2021272
finished integrating overlap_scheduler with feedback_details::Cluster…
mabruzzo 47ba456
added a test of the overlap scheduler.
mabruzzo 3d038e1
enabled the momentum-conserving feedback.
mabruzzo 048d474
Refactored OverlapScheduler so it manages its own memory.
mabruzzo a69b4b9
added a test to validate that momentum of particle is properly handle…
mabruzzo da3dbbf
renaming stencil-related things.
mabruzzo b063aea
first stab at new momentum-depostion stencil.
mabruzzo a840930
factored stencil out of Apply_Energy_Momentum_Deposition
mabruzzo 47637f4
refactored unresolved feedback to make it more self-consistent.
mabruzzo 21d759d
making both stencils selectable for unresolved SNe
mabruzzo e2d9653
took some steps towards better boundary handling.
mabruzzo 088c18b
added preliminary support for hacky-boundary handling.
mabruzzo 65d7db0
remove unused Particle_Is_Alone device function
mabruzzo 0327330
minor tweak to Sphere27::for_each_overlap_zone
mabruzzo 58b8648
improved stencil-test-coverage.
mabruzzo ad75803
refactor feedback_model and feedback_stencil.
mabruzzo 0199d20
removed default-value from feedback_sn_model (except in cases where c…
mabruzzo f2708cc
refactored stencil::for_each to take a single Arr3<Real> arg instead …
mabruzzo 7436bc8
refactored stencil::for_each_enclosedCellVol to take a single Arr3<Re…
mabruzzo 49fe401
corrected the implementation of Sphere27::for_each_vecflavor
mabruzzo 4ada6ce
added new for_each flavors to LegacyCIC27 to make it easier to test.
mabruzzo 98aa7a1
revised the unresolved fb prescription to overwrite momentum with avg…
mabruzzo 09fa9f5
consolidate implementation of multiple flavors of Sphere27::for_each
mabruzzo f07feee
slight refactor of sliding_stencil_test.
mabruzzo b34be6c
made the sliding stencil test slightly more rigorous.
mabruzzo fb08e05
some light refactoring to simplify testing of feedback boundary-handl…
mabruzzo 0560fd9
added new feedback-tests. Fixed a slight bug in unresolved feedback.
mabruzzo ffa57b8
fixed a bug related to averaging momentum.
mabruzzo 12f0d54
Generalized the tests of injection magnitude into more cases. Refacto…
mabruzzo 2998a38
added some basic-tests of the boundary-handling strategy
mabruzzo bf38c09
excised an unnecessary test.
mabruzzo f0169fa
removed the n_ghost member of fb_stencil::LegacyCIC27
mabruzzo ce66d14
removed the commented version of Apply_Energy_Momentum_Deposition
mabruzzo 633469a
slightly refactored ResolvedAndUnresolvedSNe::for_each_possible_overlap
mabruzzo 632c753
renamed feedback_model -> fb_prescription
mabruzzo 66265ef
rename feedback_model.h -> prescription.h
mabruzzo 5f15c3d
fixing some cuda/hip compatability issues
mabruzzo 4d9a46c
minor feedback tweaks.
mabruzzo 2308c93
Merge branch 's99_f-backport' into s99_f-feedback
mabruzzo 84f1ce1
Merge branch 's99_f_galaxy' into s99_f-feedback
mabruzzo 712029c
minor bugfix in the tests.
mabruzzo a49a765
Merge branch 's99_f_galaxy' into s99_f-feedback
mabruzzo d47f11b
alter the criterion for switching between resolved and unresolved fee…
mabruzzo ce21fa9
Merge branch 'dev' into s99_f-feedback
mabruzzo 230ef08
Merge branch 'dev' into s99_f-feedback
mabruzzo 583f11f
improved debugger logging in feedback/kernel.h
mabruzzo d7ac36d
Merge branch 'improving-thread-crash-logic' into s99_f-feedback
mabruzzo e8427df
changing the default reconstruction type in disk-problem and the star…
mabruzzo 037e679
updated parameters to be more consistent with CGOLs-style sim
mabruzzo f754356
tweak the default truncation radius.
mabruzzo dbc0a7c
Merge branch 'cooling-choice-photoelectric-heating' into s99_f-feedback
mabruzzo 2a753ad
Merge branch 'particleNoGrav-backport' into s99_f-feedback
mabruzzo 3c95ca5
fix a bug where heating would break subcycling within cooling_kernel.
mabruzzo 7375284
minor formatting tweak.
mabruzzo d0a47ce
start logging the type of SNe
mabruzzo d854af1
deposit feedback AFTER we apply floors.
mabruzzo 48ee8c8
fixing a bug in GPU_Error_Check
mabruzzo d1beaa4
fixing the bug in the launch of PostUpdate_Conserved_Correct_Crashed_3D
mabruzzo 9291767
make print statements about manual overrides more explicit.
mabruzzo bb738c5
slightly refactor the style of Average_Cell_All_Fields
mabruzzo 63f5540
we now report errors when we can't slow-cell-average
mabruzzo 1f7eda4
during cell-averaging we now print skipped values.
mabruzzo a17d8b9
Refactored DE to respect Crashed Cells
mabruzzo 8acb34b
Average_Cell_All_Fields now respects DE Formalism
mabruzzo 3603e88
introduce `gravity.gas_only_use_static_grav` parameter.
mabruzzo 8a72b03
propagate `gravity.gas_only_use_static_grav` parameter to disk_ICs.
mabruzzo bed1fce
refactor feedback star particles.
mabruzzo ccf9e20
Merge branch 'cooling-choice-TIcool' into s99_f-feedback
mabruzzo c564088
Merge branch 'cooling-choice-TIcool' into s99_f-feedback
mabruzzo d9bf6d3
Merge branch 'dev' into s99_f-feedback
mabruzzo 33c9515
address an oversight that unintentionally broke compilation when Grav…
mabruzzo 153fa98
Merge branch 'refactor-dual-energy' into s99_f-feedback redux
mabruzzo 2934692
relocate clamp helper function
mabruzzo 6f1f96f
eliminate Arr3 part 1
mabruzzo c001244
finish removing all references to Arr3 type
mabruzzo d3dd46c
reapply the clang-tidy cleanup
mabruzzo f2a8001
some reorganization and light commentary
mabruzzo ff6d904
gradual clang-format
mabruzzo 232be85
remaining clang-format
mabruzzo 8c65c56
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8536c54
Try bumping the ROCm version
mabruzzo 6e948fc
turns out that this minimal change was all we needed to resolve this …
mabruzzo 1ecd9a3
attempt to get GHA working
mabruzzo 9f490f1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e38afde
Merge branch 'dev' into s99_f-feedback
mabruzzo ff212a1
try to fix the gha again
mabruzzo 30d33f8
shuffle operations
mabruzzo e881434
another attempt
mabruzzo c176258
update the ubuntu version
mabruzzo 40047ac
revert the compilation_checks.yml
mabruzzo 1eda25b
add an action to build the docker image
mabruzzo 7f1bb2e
more-adjustments
mabruzzo ef0caab
another attempt
mabruzzo 83eff6c
another tweak
mabruzzo 848e915
a variation based on the dockerdocs
mabruzzo c103dc3
revert to a slightly earlier version
mabruzzo f2f807e
reverting the action to an earlier version
mabruzzo ac5d8ed
a tweak
mabruzzo 1b3b0a2
Resolve the failing test
mabruzzo 14351a6
format the tests file
mabruzzo 3ab772c
Merge branch 'dev' into s99_f-feedback
mabruzzo a8a6456
address clang-tidy error
mabruzzo f45b425
another tweak
mabruzzo 9cecdc1
hopefully the last bugfix
mabruzzo 0c2abef
I forgot to re-enable compilation checks GHA
mabruzzo 4e27c77
another attempt to fix the failing tests
mabruzzo 4f3710f
With this bugfix, I now confirmed that it works with version rocm 5.7.1
mabruzzo a331c6f
Merge branch 'dev' into s99_f-feedback
mabruzzo 0ef86cf
bump the docker image for HIP compilation checks
mabruzzo 22008db
backport atomicMin for long longs to early HIP versions
mabruzzo 1bc3ff9
resolve all bugs
mabruzzo a941290
Merge branch 'dev' into s99_f-feedback
mabruzzo 138c007
port over and updates docs
mabruzzo 366fb72
forgot to add this
mabruzzo 8f54a70
Merge branch 'dev' into s99_f-feedback
mabruzzo cd39d05
address minor oversight
mabruzzo 24b23e0
address some of Evan's comments
mabruzzo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentional? For some reason I thought this had been updated elsewhere.