Ignore:
Timestamp:
Sep 22, 2011 10:11:18 AM (14 years ago)
Author:
vondreele
Message:

finish spherical harmonics preferred orientation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/fsource/texturesubs/plmpsi.for

    r305 r379  
    1       SUBROUTINE PLMPSI(L,M,PSI,P)
     1      SUBROUTINE PLMPSI(L,M,PSI,P,DPDPS)
    22
    33!PURPOSE: Compute P(l,m,psi)
     
    3131          RS = S
    3232          P = P+APR*COSD(RS*PSI)
     33          DPDPS = DPDPS-RS*APR*SIND(RS*PSI)
    3334        END DO
    3435      ELSE                                           
     
    3738          RS = S
    3839          P = P+APR*SIND(RS*PSI)       
     40          DPDPS = DPDPS+RS*APR*COSD(RS*PSI)
    3941        END DO     
    4042      END IF
Note: See TracChangeset for help on using the changeset viewer.