Blame view
fvn_test/test_bsin.f90
422 Bytes
f26a262db git-svn-id: https... |
1 2 |
program test_bsin use fvn_fnlib |
f6bacaf83 ChW 11/09: ANSI c... |
3 |
use Kind_Definition |
f26a262db git-svn-id: https... |
4 5 |
implicit none integer :: n,npoints,i |
f6bacaf83 ChW 11/09: ANSI c... |
6 7 |
real(kind=sp_kind) :: xmin,xmax,xstep,x,y real(kind=sp_kind),dimension(200,0:5) :: bes |
fdbb9bb0a git-svn-id: https... |
8 |
|
f26a262db git-svn-id: https... |
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
open(2,file='bsin.dat') xmin=-5. xmax=5. npoints=200 xstep=(xmax-xmin)/dble(npoints) do i=1,npoints x=xmin+i*xstep do n=0,5 bes(i,n)=bsin(n,x) end do write(2,'(7e22.14)') x,bes(i,0:5) end do close(2) end program |