TemplateDriver.cpp File Reference
#include <Mercury3D.h>

Classes

class  MyProblem
 

Functions

int main (const int argc, const char **argv)
 

Function Documentation

◆ main()

int main ( const int argc  ,
const char **  argv 
)
60 {
61  MyProblem problem;
62  /* Make sure to add an (unique) name here */
63  problem.setName("MyProblemCode");
64 
65  //Add any configuration which is modified often below...
66 
67  /* Now start the simulation */
68  problem.solve();
69  return 0;
70 }
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: TemplateDriver.cpp:35

References DPMBase::setName(), and DPMBase::solve().