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

Comparing trunk/OOPSE-4/src/types/ShapeAtomType.hpp (file contents):
Revision 2211 by chrisfen, Thu Apr 21 14:12:19 2005 UTC vs.
Revision 3175 by gezelter, Mon Jul 16 13:33:10 2007 UTC

# Line 55 | Line 55 | namespace oopse {
55   #include "types/DirectionalAtomType.hpp"
56   #include "utils/simError.h"
57  
58 < namespace oopse {
59 <  
60 <  
58 > namespace oopse {  
59    class ShapeAtomType : public DirectionalAtomType {
60      
61    public:
62      
63      ShapeAtomType() : DirectionalAtomType() { atp.is_Shape = 1; }
64      ~ShapeAtomType();
65 <        
65 >    
66      std::vector<RealSphericalHarmonic*> getContactFuncs(void) {return contactFuncs;}
67      std::vector<RealSphericalHarmonic*> getRangeFuncs(void) {return rangeFuncs;}
68      std::vector<RealSphericalHarmonic*> getStrengthFuncs(void) {return strengthFuncs;}
# Line 84 | Line 82 | namespace oopse {
82       * @param costheta
83       * @param phi
84       */
85 <    double getContactValueAt(double costheta, double phi);
85 >    RealType getContactValueAt(RealType costheta, RealType phi);
86      
87      /**
88       * Gets the value of the range function at a particular orientation
89       * @param costheta
90       * @param phi
91       */
92 <    double getRangeValueAt(double costheta, double phi);
92 >    RealType getRangeValueAt(RealType costheta, RealType phi);
93      
94      /**
95       * Gets the value of the strength function at a particular orientation
96       * @param costheta
97       * @param phi
98       */
99 <    double getStrengthValueAt(double costheta, double phi);
99 >    RealType getStrengthValueAt(RealType costheta, RealType phi);
100      
101      virtual void complete();
102      
# Line 107 | Line 105 | namespace oopse {
105      std::vector<RealSphericalHarmonic*> contactFuncs;  // The contact functions
106      std::vector<RealSphericalHarmonic*> rangeFuncs;    // The range functions
107      std::vector<RealSphericalHarmonic*> strengthFuncs; // The strength functions
110    
108    };
109   }
110   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines