11 const std::string manual =
"Enter the prefix of the simulation you want to restart\n"
12 " and, optionally, the prefix of the output files.\n"
13 " e.g. restart2data input output\n"
14 " reads from input.restart and writes to output.data\n";
20 if (in.find(
".restart")==-1) in +=
".restart";
24 bool prefixGiven = argc>=3 && argv[2][0]!=
'-';
25 char*
out = prefixGiven?argv[2]:argv[1];
30 if (
problem.readRestartFile(in)) {
32 problem.cgHandler.computeContactPoints();
42 problem.cgHandler.computeContactPoints();
44 problem.fStatFile.setCounter(
problem.restartFile.getCounter() - 1);
52 }
while (
problem.readRestartFile());
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
This adds on the hierarchical grid code for 3D problems.
Definition: Mercury3D.h:16
#define INFO(i)
Definition: mumps_solver.h:54
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213
std::ofstream out("Result.txt")