v1.0
Classes
|
Functions
Mercury3DRestart.cpp File Reference
#include <iostream>
#include "
Mercury3DRestart.h
"
Classes
class
Mercury3DRestarter
Functions
int
main
(
int
argc,
char
*argv[])
Function Documentation
◆
main()
int
main
(
int
argc
,
char
*
argv
[]
)
49
{
50
if
(argc < 2)
51
{
52
logger
(
ERROR
,
"Please enter the name of the simulation you want to restart and, optionally, the name of the "
53
"simulation after restart"
);
54
}
55
Mercury3DRestarter
problem
;
56
problem
.setSaveCount(2);
57
problem
.setMaxWallTime(10);
58
problem
.setClusterCommand(
""
);
59
problem
.solve(argc, argv);
60
}
logger
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
ERROR
LL< Log::ERROR > ERROR
Error log level.
Definition:
Logger.cc:32
Mercury3DRestarter
Definition:
Mercury3DRestart.cpp:10
problem
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition:
steady_axisym_advection_diffusion.cc:213
References
ERROR
,
logger
, and
problem
.
Drivers
Papers
FlowRulePaper
Mercury3DRestart.cpp
Generated on Wed Aug 27 2025 17:05:02 for MercuryDPM by
1.9.1