Recent content by nepapak
-
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...- nepapak
- Post #7
- Forum: Programming and Computer Science
-
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...- nepapak
- Post #5
- Forum: Programming and Computer Science
-
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...- nepapak
- Post #3
- Forum: Programming and Computer Science
-
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...- nepapak
- Thread
- Fortran Harmonics Spherical Spherical harmonics Subroutine
- Replies: 7
- Forum: Programming and Computer Science