19 if (argc > 1 && strcmp(argv[1],
"-help"))
20 logger(
INFO,
"\nGet statistics for %", argv[1]);
24 for (
unsigned int i = 2;
i < argc;
i++)
26 if (!strcmp(argv[
i],
"-stattype") || !strcmp(argv[
i],
"-statType"))
28 if (!strcmp(argv[
i + 1],
"XYZ"))
30 else if (!strcmp(argv[
i + 1],
"RAZ"))
32 else if (!strcmp(argv[
i + 1],
"RA"))
34 else if (!strcmp(argv[
i + 1],
"RZ"))
36 else if (!strcmp(argv[
i + 1],
"AZ"))
38 else if (!strcmp(argv[
i + 1],
"R"))
40 else if (!strcmp(argv[
i + 1],
"A"))
42 else if (!strcmp(argv[
i + 1],
"XY"))
44 else if (!strcmp(argv[
i + 1],
"XZ"))
46 else if (!strcmp(argv[
i + 1],
"YZ"))
48 else if (!strcmp(argv[
i + 1],
"X"))
50 else if (!strcmp(argv[
i + 1],
"Y"))
52 else if (!strcmp(argv[
i + 1],
"Z"))
54 else if (!strcmp(argv[
i + 1],
"O"))
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
@ AZ
Definition: StatisticsVector.h:21
@ XY
Definition: StatisticsVector.h:21
@ XZ
Definition: StatisticsVector.h:21
@ R
Definition: StatisticsVector.h:21
@ RA
Definition: StatisticsVector.h:21
@ YZ
Definition: StatisticsVector.h:21
@ XYZ
Definition: StatisticsVector.h:21
@ RAZ
Definition: StatisticsVector.h:21
@ RZ
Definition: StatisticsVector.h:21
@ O
Definition: StatisticsVector.h:21
void Statistics(int argc, char *argv[])
This is the function that the user should call for statistics (CG).
Definition: Statistics.h:17
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:47
The matrix class, also used for vectors and row-vectors.
Definition: Eigen/Eigen/src/Core/Matrix.h:186
This class is used to extract statistical data from MD simulations.
Definition: StatisticsVector.h:41
void setDoPeriodicWalls(bool new_)
Definition: StatisticsVector.h:542
void statistics_from_fstat_and_data()
get StatisticsPoint
#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