| 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 |
|
|
| 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) { |