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

Comparing trunk/OOPSE-3.0/src/types/FixedBondType.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 54 | Line 54 | namespace oopse {
54  
55   namespace oopse {
56    
57 < /**
58 < * @class FixedBondType FixedBondType.hpp "types/FixedBondType.hpp"
59 < * FixedBondType class is responsible for calculating the force and energy of the bond
60 < */
61 < class FixedBondType  : public BondType{
62 <    public:
63 <        FixedBondType(double r0) : BondType(r0) {}
64 <        virtual ~FixedBondType() {}
57 >  /**
58 >   * @class FixedBondType FixedBondType.hpp "types/FixedBondType.hpp"
59 >   * FixedBondType class is responsible for calculating the force and energy of the bond
60 >   */
61 >  class FixedBondType  : public BondType{
62 >  public:
63 >    FixedBondType(double r0) : BondType(r0) {}
64 >    virtual ~FixedBondType() {}
65  
66 <        virtual void calcForce(double r, double& V, double& dVdr) {
67 <            V = 0.0;
68 <            dVdr = 0.0;
69 <        }
66 >    virtual void calcForce(double r, double& V, double& dVdr) {
67 >      V = 0.0;
68 >      dVdr = 0.0;
69 >    }
70  
71 < };    
71 >  };    
72  
73  
74   } //end namespace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines