mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Changing to const Mesh*
This commit is contained in:
parent
9313f809a4
commit
beb3085469
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ public:
|
|||
//! \return Sampled position
|
||||
Position sample(uint64_t* seed) const;
|
||||
|
||||
const unique_ptr<Mesh>& mesh() const { return model::meshes.at(mesh_idx_); }
|
||||
const Mesh* mesh() const { return model::meshes.at(mesh_idx_).get(); }
|
||||
|
||||
int32_t n_sources() const { return this->mesh()->n_bins(); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue