mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Adding Cell accessors for name.
This commit is contained in:
parent
08e78a3215
commit
df379471dd
2 changed files with 24 additions and 3 deletions
|
|
@ -134,6 +134,14 @@ public:
|
|||
//! all instances is set.
|
||||
void set_temperature(double T, int32_t instance = -1);
|
||||
|
||||
//! Get the name of a cell
|
||||
//! \return Cell name
|
||||
std::string name() const;
|
||||
|
||||
//! Set the temperature of a cell instance
|
||||
//! \param[in] name Cell name
|
||||
void set_name(const std::string& name);
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Data members
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue