mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Move NCrystalRNGWrapper data member into explicit private section as requested
This commit is contained in:
parent
a5b811ec89
commit
f2e807e942
1 changed files with 2 additions and 2 deletions
|
|
@ -111,8 +111,6 @@ void split_particle(Particle& p);
|
|||
//==============================================================================
|
||||
|
||||
class NCrystalRNGWrapper : public NCrystal::RNGStream {
|
||||
uint64_t* openmc_seed_;
|
||||
|
||||
public:
|
||||
constexpr NCrystalRNGWrapper(uint64_t* seed) noexcept : openmc_seed_(seed) {}
|
||||
|
||||
|
|
@ -122,6 +120,8 @@ protected:
|
|||
return std::max<double>(
|
||||
std::numeric_limits<double>::min(), prn(openmc_seed_));
|
||||
}
|
||||
private:
|
||||
uint64_t* openmc_seed_;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue