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

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

# Line 10 | Line 10
10  
11   #include <string.h>
12  
13 < #define SH_SIN  0
14 < #define SH_COS  1
13 > #define RSH_SIN  0
14 > #define RSH_COS  1
15  
16   namespace oopse {
17    class RealSphericalHarmonic {
# Line 32 | Line 32 | namespace oopse {
32      void setFunctionType(short int theType) {functionType = theType;}
33      short int getFunctionType() { return functionType; }
34  
35 <    void makeSinFunction() {functionType = SH_SIN;}
36 <    void makeCosFunction() {functionType = SH_COS;}
35 >    void makeSinFunction() {functionType = RSH_SIN;}
36 >    void makeCosFunction() {functionType = RSH_COS;}
37  
38 <    bool isSinFunction() { return functionType == SH_SIN ? true : false;}
39 <    bool isCosFunction() { return functionType == SH_COS ? true : false;}
38 >    bool isSinFunction() { return functionType == RSH_SIN ? true : false;}
39 >    bool isCosFunction() { return functionType == RSH_COS ? true : false;}
40      
41      double getValueAt(double costheta, double phi);
42      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines