util_spill Interface

public interface util_spill

Contents


Subroutines

public module subroutine swiftest_util_spill_arr_info(keeps, discards, lspill_list, ldestructive)

Arguments

TypeIntentOptionalAttributesName
type(swiftest_particle_info), intent(inout), dimension(:), allocatable:: keeps

Array of values to keep

type(swiftest_particle_info), intent(inout), dimension(:), allocatable:: discards

Array of discards

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

Logical array of bodies to spill into the discardss

logical, intent(in) :: ldestructive

Logical flag indicating whether or not this operation should alter the keeps array or not

public module subroutine swiftest_util_spill_arr_kin(keeps, discards, lspill_list, ldestructive)

Arguments

TypeIntentOptionalAttributesName
type(swiftest_kinship), intent(inout), dimension(:), allocatable:: keeps

Array of values to keep

type(swiftest_kinship), intent(inout), dimension(:), allocatable:: discards

Array of discards

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

Logical array of bodies to spill into the discardss

logical, intent(in) :: ldestructive

Logical flag indicating whether or not this operation should alter the keeps array or not