ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/math/RealSphericalHarmonic.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/math/RealSphericalHarmonic.cpp (file contents):
Revision 1591 by gezelter, Mon Oct 18 16:30:04 2004 UTC vs.
Revision 1651 by gezelter, Tue Oct 26 22:25:02 2004 UTC

# Line 15 | Line 15 | double RealSphericalHarmonic::getValueAt(double costhe
15    // associated Legendre polynomial
16    p = LegendreP(L,M,costheta);
17    
18 <  if (functionType == SH_SIN) {
18 >  if (functionType == RSH_SIN) {
19      phase = sin((double)M * phi);
20    } else {
21      phase = cos((double)M * phi);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines