52 DeclareParameter(BondOrder, RealType);
58 void setMembers(std::vector<int> members) {
59 if (members.size() == 2) {
63 std::ostringstream oss;
64 oss <<
"BondStamp Error: members" << containerToString(members)
65 <<
" is invalid" << std::endl;
69 std::ostringstream oss;
70 oss <<
"BondStamp Error: members" << containerToString(members)
71 <<
" is invalid" << std::endl;
76 void overrideType(std::string type, RealType pars) {
78 orPars_.push_back(pars);
82 void overrideType(std::string type, std::vector<RealType> pars) {
88 int getA() {
return a; }
89 int getB() {
return b; }
90 virtual void validate();
92 bool hasOverride() {
return hasOverride_; }
93 std::string getOverrideType() {
return orType_; }
95 std::vector<RealType> getOverridePars() {
return orPars_; }
102 std::vector<RealType> orPars_;