standard style
This commit is contained in:
parent
18ad14708f
commit
f61273c062
|
@ -1218,6 +1218,7 @@ subroutine selfTest()
|
||||||
integer, intent(in) :: n
|
integer, intent(in) :: n
|
||||||
real(pReal), dimension(n) :: planeCosine
|
real(pReal), dimension(n) :: planeCosine
|
||||||
|
|
||||||
|
|
||||||
planeCosine = cos(real(math_range(n),pReal)/real(n,pReal)*TAU-TAU/real(n*2,pReal))
|
planeCosine = cos(real(math_range(n),pReal)/real(n,pReal)*TAU-TAU/real(n*2,pReal))
|
||||||
|
|
||||||
end function planeCosine
|
end function planeCosine
|
||||||
|
@ -1226,6 +1227,7 @@ subroutine selfTest()
|
||||||
integer, intent(in) :: n
|
integer, intent(in) :: n
|
||||||
real(pReal), dimension(n) :: planeSine
|
real(pReal), dimension(n) :: planeSine
|
||||||
|
|
||||||
|
|
||||||
planeSine = sin(real(math_range(n),pReal)/real(n,pReal)*TAU-TAU/real(n*2,pReal))
|
planeSine = sin(real(math_range(n),pReal)/real(n,pReal)*TAU-TAU/real(n*2,pReal))
|
||||||
|
|
||||||
end function planeSine
|
end function planeSine
|
||||||
|
|
Loading…
Reference in New Issue