#include <rocky_particle_scalars.hpp>
Inherits EntityScalars< rocky20::ParticleBreakageScalars >.
Public Member Functions
Detailed Description
When running a simulation, anIRockyParticleBreakageScalars gives access to all particle breakage scalars defined in the project. Particle breakage scalars are special particle scalars which can be used to transfer data from the point where the instantaneous breakage criterion is evaluated (at the ROCKY_PLUGIN_COMPUTE_INSTANTANEOUS_BREAKAGE hook) to the point where the fragment size distribution is calculated (at the ROCKY_PLUGIN_COMPUTE_FRAGMENTS_SIZE_DISTRIBUTION hook).
Member Function Documentation
add_scalar()
get_scalar()
Returns
The value currently stored in the scalar variable.