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

Comparing trunk/OOPSE-4/src/restraints/Restraint.hpp (file contents):
Revision 3521 by cli2, Tue Sep 8 13:45:27 2009 UTC vs.
Revision 3533 by cli2, Wed Oct 7 20:49:50 2009 UTC

# Line 137 | Line 137 | namespace oopse {
137        restInfo_[rtSwingY] = std::make_pair(0.0, 0.0);
138      }
139      
140 +    void setPrintRestraint(bool printRest) {
141 +      printRest_ = printRest;
142 +    }
143 +
144      RealType getDisplacementForceConstant() { return kDisp_; }
145      RealType getTwistForceConstant() { return kTwist_; }
146      RealType getSwingXForceConstant() { return kSwingX_; }
# Line 144 | Line 148 | namespace oopse {
148      RealType getRestrainedTwistAngle() { return twist0_; }
149      RealType getRestrainedSwingXAngle() { return swingX0_; }
150      RealType getRestrainedSwingYAngle() { return swingY0_; }
151 <    std::map<int, RealPair> getRestraintInfo() { return restInfo_; }
151 >    std::map<int, RealPair> getRestraintInfo() { return restInfo_; }
152 >    bool getPrintRestraint() { return printRest_; }
153  
154    protected:
155  
# Line 157 | Line 162 | namespace oopse {
162      RealType twist0_;
163      RealType swingX0_;
164      RealType swingY0_;
165 +    bool printRest_;
166      
167      int restType_;
168      std::string restName_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines