mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Enhancing to/from hdf5 methods so that DAGMC universes can be reproduced and exported to XML from a summary file.
This commit is contained in:
parent
e2826fa57b
commit
ef70e12142
7 changed files with 70 additions and 15 deletions
|
|
@ -68,7 +68,7 @@ public:
|
|||
|
||||
//! \brief Write universe information to an HDF5 group.
|
||||
//! \param group_id An HDF5 group id.
|
||||
void to_hdf5(hid_t group_id) const;
|
||||
virtual void to_hdf5(hid_t group_id) const;
|
||||
|
||||
virtual bool find_cell(Particle &p) const;
|
||||
|
||||
|
|
|
|||
|
|
@ -122,6 +122,8 @@ public:
|
|||
|
||||
bool find_cell(Particle &p) const override;
|
||||
|
||||
void to_hdf5(hid_t universes_group) const override;
|
||||
|
||||
// Data Members
|
||||
std::shared_ptr<moab::DagMC> dagmc_instance_; //!< DAGMC Instance for this universe
|
||||
int32_t cell_idx_offset_; //!< An offset to the start of the cells in this universe in OpenMC's cell vector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue