--- trunk/src/applications/staticProps/StaticProps.cpp 2006/01/09 22:14:32 840 +++ trunk/src/applications/staticProps/StaticProps.cpp 2006/05/17 21:51:42 963 @@ -59,6 +59,9 @@ #include "applications/staticProps/SCDOrderParameter.hpp" #include "applications/staticProps/DensityPlot.hpp" #include "applications/staticProps/RhoZ.hpp" +#if defined(HAVE_FFTW_H) || defined(HAVE_DFFTW_H) || defined(HAVE_FFTW3_H) +#include "applications/staticProps/Hxy.hpp" +#endif using namespace oopse; @@ -145,7 +148,7 @@ int main(int argc, char* argv[]){ SimCreator creator; SimInfo* info = creator.createSim(mdFileName); - double maxLen; + RealType maxLen; if (args_info.length_given) { maxLen = args_info.length_arg; } else { @@ -187,6 +190,10 @@ int main(int argc, char* argv[]){ } else if (args_info.slab_density_given) { Mat3x3d hmat = info->getSnapshotManager()->getCurrentSnapshot()->getHmat(); analyser = new RhoZ(info, dumpFileName, sele1, hmat(2, 2), args_info.nrbins_arg); +#if defined(HAVE_FFTW_H) || defined(HAVE_DFFTW_H) || defined(HAVE_FFTW3_H) + }else if (args_info.hxy_given) { + analyser = new Hxy(info, dumpFileName, sele1, args_info.nbins_x_arg, args_info.nbins_y_arg, args_info.nrbins_arg); +#endif } if (args_info.output_given) {