| 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 { | 
| 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 |  |  |