The number of groups in the state where each group shares model parameter values
The number of particles in each group
The number of numeric state values in each particle
The number of groups in the system
The number of particles per group in the system
The number of numeric state values in each particle in the system
Returns a slice of the underlying state which is a view of a particular group and particle
The group index to get
The particle index to get
Apply a reordering to the particles in every group according to a reordering parameter which defines a new order for each group.
NdArray whose first dimension defines group index
and whose second dimension defines a new order of particles for each group. For example, if this state has three
particles per group, a reordering of [2, 0, 1]
for any group would imply that its current third particle should
be reordered to the first position, its current first particle to the second position, and its current second
particle to the third position. Reordering can also perform filtering and duplication i.e. indexes between 0
and nParticles - 1 may be repeated or omitted in the reordering.
Updates the underlying state with the given values for a particular particle
The group index to set values for
The particle index to set values for
The values to set in the underlying state
Class representing the state of a System made up of nGroups groups with nParticles particles in each group, where each particle contains nStateElements numeric values.