mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Moving ImageData to an xtensor structure.
This commit is contained in:
parent
bc9668480d
commit
3935aed6bf
2 changed files with 18 additions and 19 deletions
|
|
@ -4,6 +4,8 @@
|
|||
#include <map>
|
||||
#include <sstream>
|
||||
|
||||
#include "xtensor/xarray.hpp"
|
||||
|
||||
#include "hdf5.h"
|
||||
#include "openmc/position.h"
|
||||
#include "openmc/constants.h"
|
||||
|
|
@ -35,7 +37,7 @@ extern std::vector<Plot> plots; //!< Plot instance container
|
|||
|
||||
typedef std::array<int, 3> RGBColor;
|
||||
|
||||
typedef std::vector<std::vector<RGBColor>> ImageData;
|
||||
typedef xt::xtensor<RGBColor, 2> ImageData;
|
||||
|
||||
enum class plot_type {
|
||||
slice = 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue