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

Comparing trunk/OOPSE-4/src/io/ElectrostaticAtomTypesSectionParser.cpp (file contents):
Revision 1957 by tim, Tue Jan 25 17:45:23 2005 UTC vs.
Revision 2053 by tim, Fri Feb 18 23:07:32 2005 UTC

# Line 180 | Line 180 | void ElectrostaticAtomTypesSectionParser::parseElectro
180      double psi;
181  
182      if (tokenizer.countTokens() >=3 ) {
183 <        phi = tokenizer.nextTokenAsDouble()/180.0;
184 <        theta = tokenizer.nextTokenAsDouble()/180.0;
185 <        psi = tokenizer.nextTokenAsDouble()/180.0;
183 >        phi = tokenizer.nextTokenAsDouble() * NumericConstant::PI /180.0;
184 >        theta = tokenizer.nextTokenAsDouble() * NumericConstant::PI /180.0;
185 >        psi = tokenizer.nextTokenAsDouble() * NumericConstant::PI /180.0;
186      } else {
187          phi = 0.0;
188          theta = 0.0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines