Skip to content

Commit ee547fc

Browse files
author
skywalker_cn
committed
Initialize the properties of the virtual lattice
1 parent 4fec330 commit ee547fc

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

include/openmc/cell.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -336,13 +336,14 @@ class Cell {
336336
//----------------------------------------------------------------------------
337337
// Data members
338338

339-
int32_t id_; //!< Unique ID
340-
std::string name_; //!< User-defined name
341-
Fill type_; //!< Material, universe, or lattice
342-
int32_t universe_; //!< Universe # this cell is in
343-
int32_t fill_; //!< Universe # filling this cell
344-
bool virtual_lattice_; //!< If the cell is the base of a virtual triso lattice
345-
bool triso_particle_;
339+
int32_t id_; //!< Unique ID
340+
std::string name_; //!< User-defined name
341+
Fill type_; //!< Material, universe, or lattice
342+
int32_t universe_; //!< Universe # this cell is in
343+
int32_t fill_; //!< Universe # filling this cell
344+
bool virtual_lattice_ =
345+
false; //!< If the cell is the base of a virtual triso lattice
346+
bool triso_particle_ = false; //!< If the cell contains a triso particle
346347

347348
//! \brief Specification of the virtual lattice
348349
vector<double> vl_lower_left_;

0 commit comments

Comments
 (0)