mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Enable specifying reference direction for azimuthal angle in PolarAzimuthal distribution (#3582)
Co-authored-by: shimwell <mail@jshimwell.com>
This commit is contained in:
parent
5fc289b99d
commit
fd964bc9b0
6 changed files with 72 additions and 4 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue