added factors of geo.fill to routines which increment heating estimators #129
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.
When microclumping was first implemented- and even when I updated the routines- we only included factors of geo.fill in the calculated opacities in the following routines:
We therefore failed to include factors of geo.fill when incrementing some of our heating estimators for each cell. This request should be discussed before merging. I have added the following factors of geo.fill:
This may have a significant impact on the clumped models I've run, so take those results with a pinch of salt.
There's an outstanding problem here which is that I believe some volumes are not done consistently, i.e. they use the actual volume of the cell when they should use the filled volume. This is true of both diagnostic quantities like the IP, but also normalisations which we do in macro-atoms. I'm not sure these instances will affect actual resulting calculations but they should be done self-consistently. I'm trying to review any instance where we calculate things based on densities and volumes.