Moving ImageData to an xtensor structure.

This commit is contained in:
Patrick Shriwise 2018-10-30 11:13:03 -05:00
parent bc9668480d
commit 3935aed6bf
2 changed files with 18 additions and 19 deletions

View file

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