Open krishnatejavedula opened 2 months ago
Yes. Use c_Pi
On 9/26/24 2:34 PM, GallegoSav wrote:
@.**** commented on this pull request.
In src/cosima/src/MCSource.cc <https://github.com/zoglauer/megalib/ pull/97#discussion_r1777756596>:
@@ -3626,6 +3626,104 @@ double MCSource::Comptonized(const double Energy, double Alpha, double Epeak) co return pow(Energy, Alpha)exp(-(Alpha+2)Energy/Epeak); }
+/** + + Polarization conventions +/ + + +// Constants for angle normalization +const double PI = 3.14159265358979323846;
you can use c_Pi for pi ni the code
— Reply to this email directly, view it on GitHub <https://github.com/ zoglauer/megalib/pull/97#pullrequestreview-2332382843>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ ABBIYWAXKYPLJDBJJVO2OITZYR4WVAVCNFSM6AAAAABODHP7F6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMZSGM4DEOBUGM>. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Modified the cosima/src/MCSource.cc file and cosima/inc/MCSource.hh files by adding the functions related to orthographic and stereographic polarization conventions