permsort_channels Interface

public interface permsort_channels

Module Procedures

private impure module subroutine permsort_elec_channels(elec_channels, idx)

Sorts the inout array based on the quantum numbers of the channels, and returns the permutation array that would produce the same output

Arguments

Type IntentOptional Attributes Name
type(elec_channel_type), intent(inout) :: elec_channels(:)
integer, allocatable :: idx(:)