Recent content by nepapak

  1. N

    Fortran Fortran 77 subroutine for calculating spherical harmonics

    Yay! tiz working now, thx! Now maybe somebody will be able to understand it ;) c**************************************************************************** c Subroutine to calculate spherical harmonics. It uses the CERN-library c (RASLGF) to calculate the associated Legendre functions...
  2. N

    Fortran Fortran 77 subroutine for calculating spherical harmonics

    They definitely are, but to tell you the truth I couldn't figure out what I was supposed to do with the [code] tags :confused:. I mean, when I copied the code in the middle of ''['' and '']'' the code still lost its original indentation when I looked at the preview of the post, so I couldn't...
  3. N

    Fortran Fortran 77 subroutine for calculating spherical harmonics

    Kk thanks for the heads up, I didn't even notice that the indentation had completely disappeared. I hope it looks better like this: [ /////subroutine harmonics(max,theta,phi,Yr,Yi) /////implicit none /////integer max,k,nn,n,grens /////double precision x,theta,phi,ct,nphi,pi...
  4. N

    Fortran Fortran 77 subroutine for calculating spherical harmonics

    Hey guys I am trying to understand a code for a Fortran 77 subroutine which calculates spherical harmonics using the CERN library RASLGF for legendre functions. The code looks like this subroutine harmonics(max,theta,phi,Yr,Yi) implicit none integer max,k,nn,n,grens...
Back
Top