mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fix pointer placement on uint64_t
This commit is contained in:
parent
60015e5c5c
commit
eca3ce33d2
41 changed files with 141 additions and 141 deletions
|
|
@ -26,7 +26,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Direction sampled
|
||||
virtual Direction sample(uint64_t * prn_seeds, int stream) const = 0;
|
||||
virtual Direction sample(uint64_t* prn_seeds, int stream) const = 0;
|
||||
|
||||
Direction u_ref_ {0.0, 0.0, 1.0}; //!< reference direction
|
||||
};
|
||||
|
|
@ -44,7 +44,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Direction sampled
|
||||
Direction sample(uint64_t * prn_seeds, int stream) const;
|
||||
Direction sample(uint64_t* prn_seeds, int stream) const;
|
||||
private:
|
||||
UPtrDist mu_; //!< Distribution of polar angle
|
||||
UPtrDist phi_; //!< Distribution of azimuthal angle
|
||||
|
|
@ -62,7 +62,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Sampled direction
|
||||
Direction sample(uint64_t * prn_seeds, int stream) const;
|
||||
Direction sample(uint64_t* prn_seeds, int stream) const;
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -78,7 +78,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Sampled direction
|
||||
Direction sample(uint64_t * prn_seeds, int stream) const;
|
||||
Direction sample(uint64_t* prn_seeds, int stream) const;
|
||||
};
|
||||
|
||||
using UPtrAngle = std::unique_ptr<UnitSphereDistribution>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue