ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/UseTheForce/DUFF.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/UseTheForce/DUFF.cpp (file contents):
Revision 1764 by tim, Fri Nov 19 21:38:22 2004 UTC vs.
Revision 1765 by tim, Mon Nov 22 20:55:52 2004 UTC

# Line 238 | Line 238 | void DUFF::parseDirectionalAtomType(const std::string&
238      StringTokenizer tokenizer(line);
239      int nTokens = tokenizer.countTokens();  
240      
241 <    //in irectionalAtomTypeSection, a line at least contains 6 tokens
241 >    //in DirectionalAtomTypeSection, a line at least contains 6 tokens
242      //AtomTypeName, isDipole, isSticky, I_xx, I_yy and I_zz
243      if (nTokens < 6) {
244 <
244 >        std::cerr << "Not enought tokens" << std::endl;
245      } else {
246  
247  
# Line 274 | Line 274 | void DUFF::parseDirectionalAtomType(const std::string&
274          
275          Mat3x3d inertialMat;
276          inertialMat(0, 0) = Ixx;
277 <        inertialMat(1, 1) = Ixx;
278 <        inertialMat(2, 2) = Ixx;        
277 >        inertialMat(1, 1) = Iyy;
278 >        inertialMat(2, 2) = Izz;        
279          dAtomType->setI(inertialMat);
280  
281          //read dipole moment

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines