Enable specifying reference direction for azimuthal angle in PolarAzimuthal distribution (#3582)

Co-authored-by: shimwell <mail@jshimwell.com>
This commit is contained in:
GuySten 2025-11-03 09:42:59 +02:00 committed by GitHub
parent 5fc289b99d
commit fd964bc9b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 72 additions and 4 deletions

View file

@ -51,6 +51,8 @@ public:
Distribution* phi() const { return phi_.get(); }
private:
Direction v_ref_ {1.0, 0.0, 0.0}; //!< reference direction
Direction w_ref_;
UPtrDist mu_; //!< Distribution of polar angle
UPtrDist phi_; //!< Distribution of azimuthal angle
};