| 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_; } | 
| 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 |  |  | 
| 162 |  | RealType twist0_; | 
| 163 |  | RealType swingX0_; | 
| 164 |  | RealType swingY0_; | 
| 165 | + | bool printRest_; | 
| 166 |  |  | 
| 167 |  | int restType_; | 
| 168 |  | std::string restName_; |