Adding surface and cell offsets to the DAGUniverse to recover surface and cell indices.

This commit is contained in:
Patrick Shriwise 2020-07-09 18:26:21 -05:00
parent a736756d9b
commit 108c2a2f35
4 changed files with 31 additions and 21 deletions

View file

@ -63,6 +63,7 @@ namespace model {
class Universe
{
public:
int32_t id_; //!< Unique ID
vector<int32_t> cells_; //!< Cells within this universe
@ -88,6 +89,8 @@ public:
// Data Members
std::string filename_;
std::shared_ptr<moab::DagMC> dagmc_instance_; //! DAGMC Instance for this universe
int32_t cell_idx_offset_;
int32_t surf_idx_offset_;
};
#endif