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:
Paul Romano 2023-07-14 13:43:47 -05:00 committed by GitHub
parent 0666e3a4f6
commit c5f551103f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

View file

@ -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_; }