From ee547fce05ee575e63006278065f7abd63836c8c Mon Sep 17 00:00:00 2001 From: skywalker_cn <2324714651@qq.com> Date: Fri, 19 Dec 2025 03:21:38 +0000 Subject: [PATCH] Initialize the properties of the virtual lattice --- include/openmc/cell.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/include/openmc/cell.h b/include/openmc/cell.h index a581291dfc..872a68e9d6 100644 --- a/include/openmc/cell.h +++ b/include/openmc/cell.h @@ -336,13 +336,14 @@ public: //---------------------------------------------------------------------------- // Data members - int32_t id_; //!< Unique ID - std::string name_; //!< User-defined name - Fill type_; //!< Material, universe, or lattice - int32_t universe_; //!< Universe # this cell is in - int32_t fill_; //!< Universe # filling this cell - bool virtual_lattice_; //!< If the cell is the base of a virtual triso lattice - bool triso_particle_; + int32_t id_; //!< Unique ID + std::string name_; //!< User-defined name + Fill type_; //!< Material, universe, or lattice + int32_t universe_; //!< Universe # this cell is in + int32_t fill_; //!< Universe # filling this cell + bool virtual_lattice_ = + false; //!< If the cell is the base of a virtual triso lattice + bool triso_particle_ = false; //!< If the cell contains a triso particle //! \brief Specification of the virtual lattice vector vl_lower_left_;