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

Comparing branches/development/src/applications/dump2Xyz/Dump2XYZ.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 75 | Line 75 | int main(int argc, char* argv[]){
75    bool printFrc(false);
76    bool printVec(false);
77    bool printChrg(false);
78 +  bool printField(false);
79    
80    //parse the command line option
81    if (cmdline_parser (argc, argv, &args_info) != 0) {
# Line 210 | Line 211 | int main(int argc, char* argv[]){
211      printChrg = true;
212      xyzVisitor->doCharges(printChrg);
213    }
214 +  if(args_info.efield_flag){
215 +    printField = true;
216 +    xyzVisitor->doElectricFields(printField);
217 +  }
218    
219    compositeVisitor->addVisitor(xyzVisitor, 200);
220    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines