ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
module_libmassv::vsqrt Interface Reference

Public Member Functions

subroutine vsqrt_d (y, x, n)
 
subroutine vsqrt_s (y, x, n)
 

Member Function/Subroutine Documentation

◆ vsqrt_d()

subroutine module_libmassv::vsqrt::vsqrt_d ( real(kind=r8kind), dimension(*), intent(out)  y,
real(kind=r8kind), dimension(*), intent(in)  x,
integer, intent(in)  n 
)
57 !=================================================================================================================
58  integer,intent(in):: n
59  real(kind=r8kind),dimension(*),intent(in):: x
60  real(kind=r8kind),dimension(*),intent(out):: y
61 
62  integer:: j
63 !-----------------------------------------------------------------------------------------------------------------
64 
65  do j=1,n
66  y(j)=sqrt(x(j))
67  enddo
68 

◆ vsqrt_s()

subroutine module_libmassv::vsqrt::vsqrt_s ( real(kind=r4kind), dimension(*), intent(out)  y,
real(kind=r4kind), dimension(*), intent(in)  x,
integer, intent(in)  n 
)
73 !=================================================================================================================
74 
75  integer,intent(in):: n
76  real(kind=r4kind),dimension(*),intent(in):: x
77  real(kind=r4kind),dimension(*),intent(out):: y
78 
79  integer:: j
80 
81 !-----------------------------------------------------------------------------------------------------------------
82 
83  do j=1,n
84  y(j)=sqrt(x(j))
85  enddo
86 

The documentation for this interface was generated from the following file: