mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Sample isotropic direction consistently
This commit is contained in:
parent
f8241f567f
commit
8a07feebcb
4 changed files with 17 additions and 31 deletions
|
|
@ -57,6 +57,8 @@ private:
|
|||
//! Uniform distribution on the unit sphere
|
||||
//==============================================================================
|
||||
|
||||
Direction isotropic_direction(uint64_t* seed);
|
||||
|
||||
class Isotropic : public UnitSphereDistribution {
|
||||
public:
|
||||
Isotropic() { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue