mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
changed N_STREAMS to const defined in header rather than random_lcg.cpp
This commit is contained in:
parent
642c3a8ac7
commit
674585c8fe
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ namespace openmc {
|
|||
class Distribution {
|
||||
public:
|
||||
virtual ~Distribution() = default;
|
||||
virtual double sample() const = 0;
|
||||
virtual double sample(uint64_t * prn_seeds, int stream) const = 0;
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace openmc {
|
|||
// Module constants.
|
||||
//==============================================================================
|
||||
|
||||
extern "C" const int N_STREAMS;
|
||||
constexpr int N_STREAMS = 6;
|
||||
extern "C" const int STREAM_TRACKING;
|
||||
extern "C" const int STREAM_TALLIES;
|
||||
extern "C" const int STREAM_SOURCE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue