external_interfaces.f90 Source File


Files dependent on this one

sourcefile~~external_interfaces.f90~~AfferentGraph sourcefile~external_interfaces.f90 external_interfaces.f90 sourcefile~fordot_options.f90 fordot_options.f90 sourcefile~fordot_options.f90->sourcefile~external_interfaces.f90 sourcefile~fordot.f90 fordot.f90 sourcefile~fordot.f90->sourcefile~fordot_options.f90

Source Code

module external_interfaces_dot

   use kinds

   implicit none

   interface dot
#if defined(REAL64)
      pure function ddot(f_n, f_dx, f_incx, f_dy, f_incy) result(f_a)
         import rk
         integer, intent(in) :: f_incx, f_incy, f_n
         real(rk), intent(in) :: f_dx(f_n), f_dy(f_n)
         real(rk) :: f_a
      end function ddot
#elif defined(REAL32)
      pure function sdot(f_n, f_dx, f_incx, f_dy, f_incy) result(f_a)
         import rk
         integer, intent(in) :: f_incx, f_incy, f_n
         real(rk), intent(in) :: f_dx(f_n), f_dy(f_n)
         real(rk) :: f_a
      end function sdot
#else
      pure function ddot(f_n, f_dx, f_incx, f_dy, f_incy) result(f_a)
         import rk
         integer, intent(in) :: f_incx, f_incy, f_n
         real(rk), intent(in) :: f_dx(f_n), f_dy(f_n)
         real(rk) :: f_a
      end function ddot
#endif
   end interface

end module external_interfaces_dot