57 if (argc > 1 && strcmp(argv[1],
"-help") != 0)
59 logger(
INFO,
"\nGet statistics for %", argv[1]);
64 for (
int i = 2;
i < argc;
i++)
66 if (!strcmp(argv[
i],
"-stattype"))
68 if (!strcmp(argv[
i + 1],
"XYZ"))
T =
XYZ;
69 else if (!strcmp(argv[
i + 1],
"XY"))
T =
XY;
70 else if (!strcmp(argv[
i + 1],
"XZ"))
T =
XZ;
71 else if (!strcmp(argv[
i + 1],
"YZ"))
T =
YZ;
72 else if (!strcmp(argv[
i + 1],
"X"))
T =
X;
73 else if (!strcmp(argv[
i + 1],
"Y"))
T =
Y;
74 else if (!strcmp(argv[
i + 1],
"Z"))
T =
Z;
85 stats.setDoPeriodicWalls(
false);
86 stats.getLiveStatistics();
90 stats.setDoPeriodicWalls(
false);
91 stats.getLiveStatistics();
95 stats.setDoPeriodicWalls(
false);
96 stats.getLiveStatistics();
100 stats.setDoPeriodicWalls(
false);
101 stats.getLiveStatistics();
105 stats.setDoPeriodicWalls(
false);
106 stats.getLiveStatistics();
110 stats.setDoPeriodicWalls(
false);
111 stats.getLiveStatistics();
114 stats.setDoPeriodicWalls(
false);
115 stats.getLiveStatistics();
int i
Definition: BiCGSTAB_step_by_step.cpp:9
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:32
StatType
Creates averaged statistics (only valid if density field is homogenous along averaged direction)
Definition: StatisticsVector.h:20
@ XY
Definition: StatisticsVector.h:21
@ XZ
Definition: StatisticsVector.h:21
@ YZ
Definition: StatisticsVector.h:21
@ XYZ
Definition: StatisticsVector.h:21
Definition: livestatistics.cpp:9
#define X
Definition: icosphere.cpp:20
#define Z
Definition: icosphere.cpp:21
#define INFO(i)
Definition: mumps_solver.h:54
const char Y
Definition: test/EulerAngles.cpp:32