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  }
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 }
Definition: restartedChute.cpp:10
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References problem.