array_sublist Function

public function array_sublist(list, i_selected)

extract a subset of arrays

Arguments

Type IntentOptional Attributes Name
type(array_list), intent(in) :: list

list of arrays

integer, intent(in), DIMENSION(:) :: i_selected

array numbers to retrieve

Return Value type(array_list)