v1.0
Classes
|
Functions
restartedChute.cpp File Reference
#include <iostream>
#include "
Chute.h
"
Classes
class
ChuteRestart
Functions
int
main
(
int
argc,
char
*argv[])
Function Documentation
◆
main()
int
main
(
int
argc
,
char
*
argv
[]
)
21
{
22
if
(argc<2) {
23
cout <<
"Please enter the name of the simulation you want to restart and, optionally, the name of the simulation after restart"
<< endl;
24
exit(-1);
25
}
else
{
26
cout <<
"restart data: "
<< argv[1] <<
".restart"
<< endl;
27
}
28
ChuteRestart
problem
;
29
problem
.setName(argv[1]);
30
problem
.readRestartFile(
false
);
31
problem
.time =
problem
.getTime();
32
problem
.write(std::cout,
false
);
33
problem
.solve(argc-1, argv+1);
34
}
ChuteRestart
Definition:
restartedChute.cpp:10
problem
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition:
steady_axisym_advection_diffusion.cc:213
References
problem
.
Drivers
Chute
restartedChute.cpp
Generated on Wed Aug 27 2025 17:05:06 for MercuryDPM by
1.9.1