mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Checkpoint in creating ObjectPlot constructor.
This commit is contained in:
parent
f725e2c532
commit
964b45eea8
2 changed files with 257 additions and 2 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "position.h"
|
||||
#include "openmc/constants.h"
|
||||
#include "openmc/particle.h"
|
||||
#include "openmc/xml_interface.h"
|
||||
|
||||
namespace openmc {
|
||||
|
||||
|
|
@ -19,7 +20,7 @@ namespace openmc {
|
|||
|
||||
std::map<int, int> plot_dict;
|
||||
|
||||
std::vector<int32_t> n_plots;
|
||||
int n_plots;
|
||||
|
||||
std::vector<ObjectPlot*> plots;
|
||||
|
||||
|
|
@ -52,6 +53,9 @@ namespace openmc {
|
|||
//===============================================================================
|
||||
|
||||
struct ObjectPlot {
|
||||
|
||||
ObjectPlot(pugi::xml_node plot);
|
||||
|
||||
int id;
|
||||
int type;
|
||||
int color_by;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue