40 if (argc > 1 && strcmp(argv[1],
"-help"))
41 logger(
INFO,
"\nGet statistics for %", argv[1]);
45 for (
unsigned int i = 2;
i < argc;
i++)
47 if (!strcmp(argv[
i],
"-stattype") || !strcmp(argv[
i],
"-statType"))
49 if (!strcmp(argv[
i + 1],
"XYZ"))
51 else if (!strcmp(argv[
i + 1],
"RAZ"))
53 else if (!strcmp(argv[
i + 1],
"RA"))
55 else if (!strcmp(argv[
i + 1],
"RZ"))
57 else if (!strcmp(argv[
i + 1],
"AZ"))
59 else if (!strcmp(argv[
i + 1],
"R"))
61 else if (!strcmp(argv[
i + 1],
"A"))
63 else if (!strcmp(argv[
i + 1],
"XY"))
65 else if (!strcmp(argv[
i + 1],
"XZ"))
67 else if (!strcmp(argv[
i + 1],
"YZ"))
69 else if (!strcmp(argv[
i + 1],
"X"))
71 else if (!strcmp(argv[
i + 1],
"Y"))
73 else if (!strcmp(argv[
i + 1],
"Z"))
75 else if (!strcmp(argv[
i + 1],
"O"))
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
@ AZ
Definition: StatisticsVector.h:42
@ XY
Definition: StatisticsVector.h:42
@ XZ
Definition: StatisticsVector.h:42
@ R
Definition: StatisticsVector.h:42
@ RA
Definition: StatisticsVector.h:42
@ YZ
Definition: StatisticsVector.h:42
@ A
Definition: StatisticsVector.h:42
@ Y
Definition: StatisticsVector.h:42
@ X
Definition: StatisticsVector.h:42
@ Z
Definition: StatisticsVector.h:42
@ XYZ
Definition: StatisticsVector.h:42
@ RAZ
Definition: StatisticsVector.h:42
@ RZ
Definition: StatisticsVector.h:42
@ O
Definition: StatisticsVector.h:42
void Statistics(int argc, char *argv[])
This is the function that the user should call for statistics (CG).
Definition: Statistics.h:38
This class is used to extract statistical data from MD simulations.
Definition: StatisticsVector.h:62
void setDoPeriodicWalls(bool new_)
Definition: StatisticsVector.h:563
void statistics_from_fstat_and_data()
get StatisticsPoint
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51