refactor seed and seed aray variable names

This commit is contained in:
John Tramm 2019-12-05 19:50:31 +00:00
parent 428bab4fd2
commit 0602ddd8a3
46 changed files with 336 additions and 336 deletions

View file

@ -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)