Skip to contents

Set system state. Takes a multidimensional array (2- or 3d depending on if the system is grouped or not). Dimensions of length 1 will be recycled as appropriate.

Usage

dust_system_set_state(sys, state)

Arguments

sys

A dust_system object

state

A matrix or array of state. If ungrouped, the dimension order expected is state x particle. If grouped the order is state x particle x group.

Value

Nothing, called for side effects only