115 logger(
INFO,
"Execute 'source LeesEdwardsSelfTest.sh' to get coarse-grained statistics");
116 helpers::writeToFile(
"LeesEdwardsSelfTest.sh",
"../MercuryCG/fstatistics LeesEdwardsSelfTest -stattype XY -w 0.25 -h 0.25 -tmin 2\n"
117 "../MercuryCG/fstatistics LeesEdwardsSelfTest -stattype Y -w 0.25 -h 0.1 -tmin 2 -o LeesEdwardsSelfTest.Y.stat");
119 logger(
INFO,
"Run 'LeesEdwardsSelfTest.m' in MATLAB/octave to visualise the statistical output");
121 "addpath('../MercuryCG/')\n"
122 "data = loadstatistics('LeesEdwardsSelfTest.stat');\n"
124 "contourf(data.x,data.y,data.VelocityX,20,'EdgeColor','none')\n"
126 "c.Label.String = '\\rho';\n"
127 "title('Velocity')\n"
131 "%% 1D velocity field v_x(y)\n"
132 "dataY = loadstatistics('LeesEdwardsSelfTest.Y.stat');\n"
133 "plot(dataY.y,dataY.VelocityX)\n"
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.
void setXBallsAdditionalArguments(std::string newXBArgs)
Set the additional arguments for xballs.
Definition: DPMBase.cc:1347
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
[Lees:headers]
Definition: LeesEdwardsSelfTest.cpp:34
bool writeToFile(std::string filename, std::string filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:58