88 std::string getForceFieldFileName() {
return forceFieldFileName_; }
90 void setForceFieldFileName(
const std::string& filename) {
91 forceFieldFileName_ = filename;
94 virtual void parse(
const std::string& filename);
98 BondType* getBondType(
const std::string& at1,
const std::string& at2);
99 BendType* getBendType(
const std::string& at1,
const std::string& at2,
100 const std::string& at3);
101 TorsionType* getTorsionType(
const std::string& at1,
const std::string& at2,
102 const std::string& at3,
const std::string& at4);
104 const std::string& at2,
105 const std::string& at3,
106 const std::string& at4);
108 const std::string& at1,
const std::string& at2);
110 BondType* getExactBondType(
const std::string& at1,
const std::string& at2);
111 BendType* getExactBendType(
const std::string& at1,
const std::string& at2,
112 const std::string& at3);
113 TorsionType* getExactTorsionType(
const std::string& at1,
114 const std::string& at2,
115 const std::string& at3,
116 const std::string& at4);
118 const std::string& at2,
119 const std::string& at3,
120 const std::string& at4);
122 const std::string& at1,
const std::string& at2);
127 virtual RealType getRcutFromAtomType(
AtomType* at);
129 std::string getWildCard() {
return wildCardAtomTypeName_; }
131 void setWildCard(
const std::string& wildCard) {
132 wildCardAtomTypeName_ = wildCard;
135 size_t getNAtomType() {
return atomTypeCont_.size(); }
140 return &nonBondedInteractionTypeCont_;
143 bool addAtomType(
const std::string& at,
AtomType* atomType);
145 bool replaceAtomType(
const std::string& at,
AtomType* atomType);
147 bool addBondType(
const std::string& at1,
const std::string& at2,
150 bool addBendType(
const std::string& at1,
const std::string& at2,
151 const std::string& at3,
BendType* bendType);
153 bool addTorsionType(
const std::string& at1,
const std::string& at2,
154 const std::string& at3,
const std::string& at4,
157 bool addInversionType(
const std::string& at1,
const std::string& at2,
158 const std::string& at3,
const std::string& at4,
161 bool addNonBondedInteractionType(
const std::string& at1,
162 const std::string& at2,
165 ifstrstream* openForceFieldFile(
const std::string& filename);
177 std::map<int, std::string> atypeIdentToName;
182 std::string wildCardAtomTypeName_;
183 std::string forceFieldFileName_;