pack Interface

public interface pack

Functions

private module function pack_indices_array(a, indices, dim) result(c)

Arguments

Type IntentOptional Attributes Name
class(array_type), intent(in), target :: a
integer, intent(in), dimension(:) :: indices
integer, intent(in) :: dim

Return Value type(array_type), pointer

private module function pack_mask_array(a, dim, mask) result(c)

Arguments

Type IntentOptional Attributes Name
class(array_type), intent(in), target :: a
integer, intent(in) :: dim
logical, intent(in), optional, dimension(:) :: mask

Return Value type(array_type), pointer