collision_util_take_snapshot Interface

interface
public module module subroutine collision_util_take_snapshot(self, param, nbody_system, t, arg)

Arguments

TypeIntentOptionalAttributesName
class(collision_storage), intent(inout) :: self

Swiftest storage object

class(base_parameters), intent(inout) :: param

Current run configuration parameters

class(base_nbody_system), intent(inout) :: nbody_system

Swiftest nbody system object to store

real(kind=DP), intent(in), optional :: t

Time of snapshot if different from nbody_system time

character, intent(in), optional :: arg

“before”: takes a snapshot just before the collision. “after” takes the snapshot just after the collision.