swiftest_util_save_discard_body Interface

interface
public module subroutine swiftest_util_save_discard_body(self, ldiscard_mask, nbody_system, snapshot)

Arguments

Type IntentOptional Attributes Name
class(swiftest_body), intent(inout) :: self

Swiftest body object

logical, intent(in), dimension(:) :: ldiscard_mask

Logical mask indicating which elements to discard

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

Swiftest nbody system object

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

Nbody system object to store the snapshot of the discard system