diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-07-04 11:40:19 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-07-04 11:40:19 -0400 |
commit | b01a6737eb07ab342d370cd83def1285eab08186 (patch) | |
tree | e95c9547193e4f62a936d588d260a44cb0dd6cab /solid_angle.h | |
parent | dc52a95f796ca7f0b3534846b2461bc0b48ad40b (diff) | |
download | sddm-b01a6737eb07ab342d370cd83def1285eab08186.tar.gz sddm-b01a6737eb07ab342d370cd83def1285eab08186.tar.bz2 sddm-b01a6737eb07ab342d370cd83def1285eab08186.zip |
initial commit of a function to calculate the solid angle subtended by a circular disk
Diffstat (limited to 'solid_angle.h')
-rw-r--r-- | solid_angle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/solid_angle.h b/solid_angle.h new file mode 100644 index 0000000..99fda37 --- /dev/null +++ b/solid_angle.h @@ -0,0 +1,3 @@ +#include <math.h> + +double get_solid_angle(double *pos, double *pmt, double *n, double r); |