swap Interface

public interface swap

Interface for the swap subroutine.


Module Procedures

private subroutine swap_int(a, b)

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(inout) :: a
integer(kind=i4), intent(inout) :: b

private subroutine swap_real(a, b)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout) :: a
real(kind=dp), intent(inout) :: b