swap_cv Subroutine

public subroutine swap_cv(a, b)

Arguments

Type IntentOptional AttributesName
complex(kind=SPC), intent(inout), DIMENSION(:):: a
complex(kind=SPC), intent(inout), DIMENSION(:):: b

Called by

proc~~swap_cv~~CalledByGraph proc~swap_cv swap_cv interface~swap swap interface~swap->proc~swap_cv

Contents

Source Code


Source Code

	SUBROUTINE swap_cv(a,b)
	COMPLEX(SPC), DIMENSION(:), INTENT(INOUT) :: a,b
	COMPLEX(SPC), DIMENSION(SIZE(a)) :: dum
	dum=a
	a=b
	b=dum
	END SUBROUTINE swap_cv