# | Line 52 | Line 52 | |
---|---|---|
52 | #include "applications/dynamicProps/DipoleCorrFunc.hpp" | |
53 | #include "applications/dynamicProps/RCorrFunc.hpp" | |
54 | #include "applications/dynamicProps/VCorrFunc.hpp" | |
55 | + | #include "applications/dynamicProps/LegendreCorrFunc.hpp" |
56 | ||
57 | + | |
58 | using namespace oopse; | |
59 | ||
60 | int main(int argc, char* argv[]){ | |
# | Line 116 | Line 118 | int main(int argc, char* argv[]){ | |
118 | } | |
119 | else if (args_info.vcorr_given) { | |
120 | corrFunc = new VCorrFunc(info, dumpFileName, sele1, sele2); | |
121 | + | } else if (args_info.lcorr_given) { |
122 | + | int order; |
123 | + | if (args_info.order_given) |
124 | + | order = args_info.order_arg; |
125 | + | else { |
126 | + | sprintf( painCave.errMsg, |
127 | + | "--order must be set if --lcoor is set\n"); |
128 | + | painCave.severity = OOPSE_ERROR; |
129 | + | painCave.isFatal = 1; |
130 | + | simError(); |
131 | + | } |
132 | + | |
133 | + | corrFunc = new LegendreCorrFunc(info, dumpFileName, sele1, sele2, order); |
134 | } | |
135 | ||
136 | if (args_info.output_given) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |