--- trunk/src/applications/staticProps/StaticProps.cpp 2005/06/13 18:25:30 558 +++ trunk/src/applications/staticProps/StaticProps.cpp 2006/05/16 02:06:37 956 @@ -58,6 +58,10 @@ #include "applications/staticProps/P2OrderParameter.hpp" #include "applications/staticProps/SCDOrderParameter.hpp" #include "applications/staticProps/DensityPlot.hpp" +#include "applications/staticProps/RhoZ.hpp" +#ifndef WITHOUT_FFTW +#include "applications/staticProps/Hxy.hpp" +#endif using namespace oopse; @@ -106,7 +110,7 @@ int main(int argc, char* argv[]){ sele2 = sele2Env; } else if (args_info.density_given) { sele2 = "select all"; - } else if(!args_info.scd_given && !args_info.density_given) { + } else if(!args_info.scd_given && !args_info.density_given && !args_info.slab_density_given) { sprintf( painCave.errMsg, "neither --sele2 option nor $OOPSE_SELE2 is set"); painCave.severity = OOPSE_ERROR; @@ -183,6 +187,13 @@ int main(int argc, char* argv[]){ } }else if (args_info.density_given) { analyser= new DensityPlot(info, dumpFileName, sele1, sele2, maxLen, args_info.nrbins_arg); + } 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); +#ifndef WITHOUT_FFTW + }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) {