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" |
72 |
|
|
73 |
|
//get the dumpfile name and meta-data file name |
74 |
|
std::string dumpFileName = args_info.input_arg; |
76 |
– |
|
77 |
– |
std::string mdFileName = dumpFileName.substr(0, dumpFileName.rfind(".")) + ".md"; |
78 |
– |
|
75 |
|
|
76 |
|
std::string sele1; |
77 |
|
std::string sele2; |
104 |
|
|
105 |
|
//parse md file and set up the system |
106 |
|
SimCreator creator; |
107 |
< |
SimInfo* info = creator.createSim(mdFileName, false); |
107 |
> |
SimInfo* info = creator.createSim(dumpFileName, false); |
108 |
|
|
109 |
|
|
110 |
|
TimeCorrFunc* corrFunc; |
111 |
< |
if (args_info.rmsd_given) { |
116 |
< |
corrFunc = new RMSD(info, dumpFileName, sele1, sele2); |
117 |
< |
} else if (args_info.dcorr_given){ |
111 |
> |
if (args_info.dcorr_given){ |
112 |
|
corrFunc = new DipoleCorrFunc(info, dumpFileName, sele1, sele2); |
113 |
|
} else if (args_info.rcorr_given) { |
114 |
|
corrFunc = new RCorrFunc(info, dumpFileName, sele1, sele2); |