Skip to content

Commit

Permalink
Added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmatthews committed Mar 21, 2014
1 parent 05711da commit 9602e55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions radiation.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,15 @@ radiation (p, ds)
freq = 0.5 * (freq_inner + freq_outer);




/* calculate free-free, compton and ind-compton opacities
note that we also call these with the average frequency along ds */

kappa_tot = frac_ff = kappa_ff (xplasma, freq); /* Add ff opacity */
kappa_tot += frac_comp = kappa_comp (xplasma, freq); /* 70 NSH 1108 calculate compton opacity, store it in kappa_comp and also add it to kappa_tot, the total opacity for the photon path */
kappa_tot += frac_ind_comp = kappa_ind_comp (xplasma, freq);
frac_tot = frac_z = 0; /* 59a - ksl - Moved this line out of loop to avoid warning, but notes
indicate this is all disagnostic and might be removed */
indicate this is all disagnostic and might be removed */


if (freq > phot_freq_min)
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#define VERSION "ff"
#define VERSION "77a_dev"
#define CHOICE 1 // Compress plasma as much as possible

0 comments on commit 9602e55

Please sign in to comment.