| 50 |
|
|
| 51 |
|
#include "applications/dynamicProps/DynamicPropsCmd.h" |
| 52 |
|
#include "applications/dynamicProps/DipoleCorrFunc.hpp" |
| 53 |
– |
#include "applications/dynamicProps/RMSD.hpp" |
| 53 |
|
#include "applications/dynamicProps/RCorrFunc.hpp" |
| 54 |
|
#include "applications/dynamicProps/VCorrFunc.hpp" |
| 55 |
|
#include "applications/dynamicProps/LegendreCorrFunc.hpp" |
| 56 |
+ |
#include "applications/dynamicProps/RadialRCorrFunc.hpp" |
| 57 |
+ |
#include "applications/dynamicProps/ThetaCorrFunc.hpp" |
| 58 |
+ |
#include "applications/dynamicProps/ActionCorrFunc.hpp" |
| 59 |
+ |
#include "applications/dynamicProps/DirectionalRCorrFunc.hpp" |
| 60 |
|
|
| 61 |
|
|
| 62 |
|
using namespace oopse; |
| 76 |
|
|
| 77 |
|
//get the dumpfile name and meta-data file name |
| 78 |
|
std::string dumpFileName = args_info.input_arg; |
| 76 |
– |
|
| 77 |
– |
std::string mdFileName = dumpFileName.substr(0, dumpFileName.rfind(".")) + ".md"; |
| 78 |
– |
|
| 79 |
|
|
| 80 |
|
std::string sele1; |
| 81 |
|
std::string sele2; |
| 108 |
|
|
| 109 |
|
//parse md file and set up the system |
| 110 |
|
SimCreator creator; |
| 111 |
< |
SimInfo* info = creator.createSim(mdFileName, false); |
| 111 |
> |
SimInfo* info = creator.createSim(dumpFileName, false); |
| 112 |
|
|
| 113 |
|
|
| 114 |
|
TimeCorrFunc* corrFunc; |
| 115 |
< |
if (args_info.rmsd_given) { |
| 116 |
< |
corrFunc = new RMSD(info, dumpFileName, sele1, sele2); |
| 117 |
< |
} else if (args_info.dcorr_given){ |
| 115 |
> |
if (args_info.dcorr_given){ |
| 116 |
|
corrFunc = new DipoleCorrFunc(info, dumpFileName, sele1, sele2); |
| 117 |
|
} else if (args_info.rcorr_given) { |
| 118 |
|
corrFunc = new RCorrFunc(info, dumpFileName, sele1, sele2); |
| 119 |
+ |
} else if (args_info.r_rcorr_given) { |
| 120 |
+ |
corrFunc = new RadialRCorrFunc(info, dumpFileName, sele1, sele2); |
| 121 |
+ |
} else if (args_info.thetacorr_given) { |
| 122 |
+ |
corrFunc = new ThetaCorrFunc(info, dumpFileName, sele1, sele2); |
| 123 |
+ |
} else if (args_info.actioncorr_given) { |
| 124 |
+ |
corrFunc = new ActionCorrFunc(info, dumpFileName, sele1, sele2); |
| 125 |
+ |
} else if (args_info.drcorr_given) { |
| 126 |
+ |
corrFunc = new DirectionalRCorrFunc(info, dumpFileName, sele1, sele2); |
| 127 |
|
} |
| 128 |
|
else if (args_info.vcorr_given) { |
| 129 |
|
corrFunc = new VCorrFunc(info, dumpFileName, sele1, sele2); |