IRockyParticleBreakageScalars 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).
Inherits from:
- EntityScalars< rocky20::ParticleBreakageScalars >
Members
Public functions
Function get_t10
formula {"type":"element","name":"formula","attributes":{"id":"3"},"children":[{"type":"text","text":"$t_{10}$"}]} parameter set at an instantaneous breakage event. Please refer to the DEM Technical Manual for the definition of this parameter.
Return type: ROCKY_FUNCTIONS double
Function set_t10
- value: The value of the
formula {"type":"element","name":"formula","attributes":{"id":"3"},"children":[{"type":"text","text":"$t_{10}$"}]}parameter just calculated.
- const double value
Function get_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- int scalar_index
Function set_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- value: The value that must be stored.
- int scalar_index
- double value
Function add_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- value: The value that must be summed to the current stored value.
- int scalar_index
- double value
Function max_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- value: A value that must be checked if it is greater than the current stored value.
- int scalar_index
- double value