92 s.fStatFile.setSaveCount(300);
95 s.species->setSinterRate(sinterRate);
98 s.setTimeMax(sinterTime);
99 s.restartFile.setSaveCount(
s.getTimeMax()/
s.getTimeStep()/5.0+1.0);
106 "p '"+
s.getName()+
".ene' u 1:2 w lp, 0.075*x**0.5\n"
111 "p '" +
s.getName() +
".fstat' u 1:(sqrt($7/" +
112 toString(2.0 *
s.particleHandler.getMeanRadius()) +
")), 0.3*x**0.5\n"
118 logger(
INFO,
"Run with ./SinterBed1 >out; the execute 'gnuplot SinterBed1.gnu' to view output");
@ MULTIPLE_FILES
each time-step will be written into/read from separate files numbered consecutively: name_....
@ ONE_FILE
all data will be written into/ read from a single file called name_
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Definition: SinterBed1SelfTest.cpp:19
RealScalar s
Definition: level1_cplx_impl.h:130
#define INFO(i)
Definition: mumps_solver.h:54
T readFromFile(const std::string &fileName, const std::string &varName, const T defaultValue)
Definition: FileIOHelpers.h:107
std::string toString(Mdouble value, unsigned precision)
converts a floating point number into a string with a given precision
Definition: StringHelpers.cc:17
bool writeToFile(const std::string &filename, const std::string &filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:29
T square(const T val)
squares a number
Definition: ExtendedMath.h:86