mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Renaming ID data structure.
This commit is contained in:
parent
bb862009ee
commit
263f70642c
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ struct RGBColor {
|
|||
};
|
||||
|
||||
typedef xt::xtensor<RGBColor, 2> ImageData;
|
||||
typedef xt::xtensor<int32_t, 3> IDData;
|
||||
typedef xt::xtensor<int32_t, 3> IdData;
|
||||
|
||||
enum class PlotType {
|
||||
slice = 1,
|
||||
|
|
|
|||
|
|
@ -968,7 +968,7 @@ extern "C" int openmc_id_map(void* plot, int32_t* data_out) {
|
|||
double out_pixel = (plt->width_[1])/static_cast<double>(height);
|
||||
|
||||
// size data array
|
||||
IDData data;
|
||||
IdData data;
|
||||
data.resize({height, width, 2});
|
||||
|
||||
// setup basis indices and initial position centered on pixel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue