ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/visitors/OtherVisitor.cpp
(Generate patch)

Comparing branches/development/src/visitors/OtherVisitor.cpp (file contents):
Revision 1870 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1871 by gezelter, Fri May 10 14:59:13 2013 UTC

# Line 333 | Line 333 | namespace OpenMD {
333                  atomInfo->frc[1], atomInfo->frc[2]);
334          line += buffer;
335        }      
336 +      if (doElectricFields_ && atomInfo->hasElectricField) {
337 +        sprintf(buffer, "%15.8f%15.8f%15.8f", atomInfo->eField[0],
338 +                atomInfo->eField[1], atomInfo->eField[2]);
339 +        line += buffer;
340 +      }      
341        frame.push_back(line);
342      }    
343    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines