IRockyPairScalars gives access to all pair scalars defined in the project. Pair scalars are special variables with a value attached to every combination of two particle groups and with each combination of a particle group and a geometry.
Inherits from:
- EntityScalars< rocky20::PairScalars >
Members
Public functions
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