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

Comparing trunk/OOPSE-4/src/applications/staticProps/StaticProps.cpp (file contents):
Revision 3022 by gezelter, Tue Sep 26 01:30:32 2006 UTC vs.
Revision 3076 by chuckv, Fri Nov 10 18:45:29 2006 UTC

# Line 64 | Line 64
64   #if defined(HAVE_FFTW_H) || defined(HAVE_DFFTW_H) || defined(HAVE_FFTW3_H)
65   #include "applications/staticProps/Hxy.hpp"
66   #endif
67 + #include "applications/staticProps/RhoR.hpp"
68  
69   using namespace oopse;
70  
# Line 233 | Line 234 | int main(int argc, char* argv[]){
234      analyser = new Hxy(info, dumpFileName, sele1, args_info.nbins_x_arg,
235                         args_info.nbins_y_arg, args_info.nbins_arg);
236   #endif
237 +  }else if (args_info.rho_r_given) {
238 +    if (args_info.radius_given){
239 +      analyser = new RhoR(info, dumpFileName, sele1, maxLen,args_info.nbins_arg,args_info.radius_arg);
240 +    }else{
241 +      sprintf( painCave.errMsg,
242 +               "A particle radius (radius) must be specified when calculating Rho(r)");
243 +      painCave.severity = OOPSE_ERROR;
244 +      painCave.isFatal = 1;
245 +      simError();
246 +    }
247    }
248    
249    if (args_info.output_given) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines