frots Subroutine

subroutine frots(nr, nc, nmax, R, v)

nr is either nc or nc+1

Arguments

Type IntentOptional AttributesName
integer :: nr
integer :: nc
integer :: nmax
real :: R
real :: v

Contents

Source Code


Source Code

      subroutine frots(nr,nc,nmax,R,v)
      implicit double precision (a-h,o-z)
      dimension R(*),v(*)
      ii=1
      do i=1,nc
        ip=i+1
        ipi=ii+1
        ipip=ipi+nmax-i
        call angle(R(ii),v(ip),cos,sin)
        call rot(nr-i,R(ipi),R(ipip),cos,sin)
        ii=ipip
      end do
      end subroutine frots