mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -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
|
|
@ -17,7 +17,7 @@ public:
|
|||
virtual ~SpatialDistribution() = default;
|
||||
|
||||
//! Sample a position from the distribution
|
||||
virtual Position sample(uint64_t * prn_seeds, int stream) const = 0;
|
||||
virtual Position sample(uint64_t* prn_seeds, int stream) const = 0;
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -32,7 +32,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Sampled position
|
||||
Position sample(uint64_t * prn_seeds, int stream) const;
|
||||
Position sample(uint64_t* prn_seeds, int stream) const;
|
||||
private:
|
||||
UPtrDist x_; //!< Distribution of x coordinates
|
||||
UPtrDist y_; //!< Distribution of y coordinates
|
||||
|
|
@ -51,7 +51,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Sampled position
|
||||
Position sample(uint64_t * prn_seeds, int stream) const;
|
||||
Position sample(uint64_t* prn_seeds, int stream) const;
|
||||
private:
|
||||
UPtrDist r_; //!< Distribution of r coordinates
|
||||
UPtrDist theta_; //!< Distribution of theta coordinates
|
||||
|
|
@ -71,7 +71,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Sampled position
|
||||
Position sample(uint64_t * prn_seeds, int stream) const;
|
||||
Position sample(uint64_t* prn_seeds, int stream) const;
|
||||
|
||||
// Properties
|
||||
bool only_fissionable() const { return only_fissionable_; }
|
||||
|
|
@ -95,7 +95,7 @@ public:
|
|||
//! \param prn_seeds Array of pseudorandom number seeds
|
||||
//! \param stream Pseudorandom stream index
|
||||
//! \return Sampled position
|
||||
Position sample(uint64_t * prn_seeds, int stream) const;
|
||||
Position sample(uint64_t* prn_seeds, int stream) const;
|
||||
private:
|
||||
Position r_; //!< Single position at which sites are generated
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue