oqp_dswap_i64 Subroutine

public subroutine oqp_dswap_i64(n, dx, incx, dy, incy)

Arguments

Type IntentOptional Attributes Name
integer :: n
double precision :: dx(*)
integer :: incx
double precision :: dy(*)
integer :: incy

Calls

proc~~oqp_dswap_i64~~CallsGraph proc~oqp_dswap_i64 oqp_dswap_i64 dswap dswap proc~oqp_dswap_i64->dswap interface~show_message show_message proc~oqp_dswap_i64->interface~show_message

Called by

proc~~oqp_dswap_i64~~CalledByGraph proc~oqp_dswap_i64 oqp_dswap_i64 proc~corresponding_orbital_projection corresponding_orbital_projection proc~corresponding_orbital_projection->proc~oqp_dswap_i64 proc~huckel_guess huckel_guess proc~huckel_guess->proc~corresponding_orbital_projection proc~guess_huckel guess_huckel proc~guess_huckel->proc~huckel_guess proc~guess_huckel_c guess_huckel_C proc~guess_huckel_c->proc~guess_huckel

Source Code

  subroutine oqp_dswap_i64(n, dx, incx, dy, incy)
    integer :: incx
    integer :: incy
    integer :: n
    double precision :: dx(*)
    double precision :: dy(*)

    integer(blas_int) :: n_, incx_, incy_
    logical :: ok

    if (ARG_CHECK) then
      ok = .true.
      ok = ok .and. abs(n    ) <= HUGE_BLAS_INT-1
      ok = ok .and. abs(incx ) <= HUGE_BLAS_INT-1
      ok = ok .and. abs(incy ) <= HUGE_BLAS_INT-1
      if (.not.ok) call show_message(ERRMSG, WITH_ABORT)
    end if

    n_    = int(n    , blas_int)
    incx_ = int(incx , blas_int)
    incy_ = int(incy , blas_int)

    call dswap(n_, dx, incx_, dy, incy_)

  end subroutine oqp_dswap_i64