mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Adding surface and cell offsets to the DAGUniverse to recover surface and cell indices.
This commit is contained in:
parent
a736756d9b
commit
108c2a2f35
4 changed files with 31 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue