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

Comparing trunk/OOPSE-2.0/src/types/BendType.hpp (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 51 | Line 51 | namespace oopse {
51  
52   namespace oopse {
53    
54 < /**
55 < * @class BendType BendType.hpp "types/BendType.hpp"
56 < */
57 < class BendType {
58 <    public:
59 <        BendType(double theta) : theta0_(theta) {}
60 <        virtual ~BendType() {}
54 >  /**
55 >   * @class BendType BendType.hpp "types/BendType.hpp"
56 >   */
57 >  class BendType {
58 >  public:
59 >    BendType(double theta) : theta0_(theta) {}
60 >    virtual ~BendType() {}
61  
62 <        virtual void calcForce(double theta, double& V, double& dVdTheta) = 0;  
62 >    virtual void calcForce(double theta, double& V, double& dVdTheta) = 0;  
63  
64 <        double getTheta() {
65 <            return theta0_;
66 <        }
64 >    double getTheta() {
65 >      return theta0_;
66 >    }
67          
68 <        void setTheta(double theta) {
69 <            theta0_ = theta;
70 <        }
68 >    void setTheta(double theta) {
69 >      theta0_ = theta;
70 >    }
71  
72 <    protected:
73 <        double theta0_;        
74 < };
72 >  protected:
73 >    double theta0_;        
74 >  };
75  
76   } //end namespace oopse
77   #endif //TYPES_BENDTYPE_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines