mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
refactor seed and seed aray variable names
This commit is contained in:
parent
428bab4fd2
commit
0602ddd8a3
46 changed files with 336 additions and 336 deletions
|
|
@ -80,7 +80,7 @@ namespace model {
|
|||
|
||||
std::vector<Plot> plots;
|
||||
std::unordered_map<int, int> plot_map;
|
||||
uint64_t plotter_prn_seed = 1;
|
||||
uint64_t plotter_seed = 1;
|
||||
|
||||
} // namespace model
|
||||
|
||||
|
|
@ -960,9 +960,9 @@ voxel_finalize(hid_t dspace, hid_t dset, hid_t memspace)
|
|||
}
|
||||
|
||||
RGBColor random_color(void) {
|
||||
return {int(prn(&model::plotter_prn_seed)*255),
|
||||
int(prn(&model::plotter_prn_seed)*255),
|
||||
int(prn(&model::plotter_prn_seed)*255)};
|
||||
return {int(prn(&model::plotter_seed)*255),
|
||||
int(prn(&model::plotter_seed)*255),
|
||||
int(prn(&model::plotter_seed)*255)};
|
||||
}
|
||||
|
||||
extern "C" int openmc_id_map(const void* plot, int32_t* data_out)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue