Skip to content
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

Fix for Bug #73. Now use frequency shifted to frame of cell then averaged #74

Merged
merged 2 commits into from
Mar 21, 2014

Conversation

jhmatthews
Copy link
Collaborator

This is the first initial fix for Bug #73.

We now choose doppler shift the frequency of the photon to the rest frame of the cell in question when calculated the continuum opacities. These opacities are use to work out both the heating contribution and the weight reduction of the photon in question.

Note that as KSL pointed out, this is not the best we can do and we may cross an edge over the frequency difference between the initial position and the initial position + ds. This may want to be improved to have something which checks if an edge has been crossed.

jhmatthews added a commit that referenced this pull request Mar 21, 2014
Fix for Bug #73. Now use frequency shifted to frame of cell then averaged
@jhmatthews jhmatthews merged commit b17955c into sirocco-rt:dev Mar 21, 2014
@jhmatthews jhmatthews deleted the freq_hotfix branch June 3, 2016 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant