mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Bank surface source particles in all active cycles (#2592)
Co-authored-by: Jose Ignacio Marquez Damian <22483345+marquezj@users.noreply.github.com>
This commit is contained in:
parent
0666e3a4f6
commit
c5f551103f
4 changed files with 10 additions and 1 deletions
|
|
@ -107,6 +107,9 @@ public:
|
|||
//! \param size The new size of the container
|
||||
void resize(int64_t size) { size_ = size; }
|
||||
|
||||
//! Return whether the array is full
|
||||
bool full() const { return size_ == capacity_; }
|
||||
|
||||
//! Return the number of elements that the container has currently allocated
|
||||
//! space for.
|
||||
int64_t capacity() { return capacity_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue