ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/staticProps/StaticProps.cpp
(Generate patch)

Comparing trunk/src/applications/staticProps/StaticProps.cpp (file contents):
Revision 1445 by chuckv, Tue Jun 8 20:26:50 2010 UTC vs.
Revision 1454 by gezelter, Wed Jun 23 19:25:02 2010 UTC

# Line 57 | Line 57
57   #include "applications/staticProps/GofRAngle.hpp"
58   #include "applications/staticProps/GofAngle2.hpp"
59   #include "applications/staticProps/GofXyz.hpp"
60 + #include "applications/staticProps/TwoDGofR.hpp"
61   #include "applications/staticProps/P2OrderParameter.hpp"
62   #include "applications/staticProps/BondOrderParameter.hpp"
63   #include "applications/staticProps/BOPofR.hpp"
# Line 216 | Line 217 | int main(int argc, char* argv[]){
217              painCave.isFatal = 1;
218              simError();  
219          }
220 +    } else if (args_info.twodgofr_given){
221 +      if (args_info.dz_given) {
222 +        analyser= new TwoDGofR(info, dumpFileName, sele1, sele2, maxLen,
223 +                               args_info.dz_arg, args_info.nbins_arg);        
224 +      } else {
225 +        sprintf( painCave.errMsg,
226 +                 "A slab width (dz) must be specified when calculating TwoDGofR");
227 +        painCave.severity = OPENMD_ERROR;
228 +        painCave.isFatal = 1;
229 +        simError();
230 +      }
231      } else if (args_info.p2_given) {
232          analyser  = new P2OrderParameter(info, dumpFileName, sele1, sele2);
233      } else if (args_info.rp2_given){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines