78 if (argc > 1 && strcmp(argv[1],
"-help") != 0)
80 logger(
INFO,
"\nGet statistics for %", argv[1]);
85 for (
int i = 2;
i < argc;
i++)
87 if (!strcmp(argv[
i],
"-stattype"))
89 if (!strcmp(argv[
i + 1],
"XYZ")) T =
XYZ;
90 else if (!strcmp(argv[
i + 1],
"XY")) T =
XY;
91 else if (!strcmp(argv[
i + 1],
"XZ")) T =
XZ;
92 else if (!strcmp(argv[
i + 1],
"YZ")) T =
YZ;
93 else if (!strcmp(argv[
i + 1],
"X")) T =
X;
94 else if (!strcmp(argv[
i + 1],
"Y")) T =
Y;
95 else if (!strcmp(argv[
i + 1],
"Z")) T =
Z;
106 stats.setDoPeriodicWalls(
false);
107 stats.getLiveStatistics();
111 stats.setDoPeriodicWalls(
false);
112 stats.getLiveStatistics();
116 stats.setDoPeriodicWalls(
false);
117 stats.getLiveStatistics();
121 stats.setDoPeriodicWalls(
false);
122 stats.getLiveStatistics();
126 stats.setDoPeriodicWalls(
false);
127 stats.getLiveStatistics();
131 stats.setDoPeriodicWalls(
false);
132 stats.getLiveStatistics();
135 stats.setDoPeriodicWalls(
false);
136 stats.getLiveStatistics();
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
LL< Log::ERROR > ERROR
Error log level.
Definition: Logger.cc:53
StatType
Creates averaged statistics (only valid if density field is homogenous along averaged direction)
Definition: StatisticsVector.h:41
@ XY
Definition: StatisticsVector.h:42
@ XZ
Definition: StatisticsVector.h:42
@ YZ
Definition: StatisticsVector.h:42
@ Y
Definition: StatisticsVector.h:42
@ X
Definition: StatisticsVector.h:42
@ Z
Definition: StatisticsVector.h:42
@ XYZ
Definition: StatisticsVector.h:42
Definition: livestatistics.cpp:30
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51