MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / empty

Method empty

Src/Particle/AMReX_StructOfArrays.H:235–235  ·  view source on GitHub ↗

* \brief Returns whether the SoA is empty (i.e. has size() == 0) * */

Source from the content-addressed store, hash-verified

233 *
234 */
235 [[nodiscard]] bool empty () const { return this->size() == 0; }
236
237 /**
238 * \brief Returns the number of real particles (excluding neighbors)

Callers 1

sizeMethod · 0.45

Calls 1

sizeMethod · 0.95

Tested by

no test coverage detected