v1.0
Classes
|
Functions
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
}
DPMBase::setName
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition:
DPMBase.cc:422
DPMBase::solve
void solve()
The work horse of the code.
Definition:
DPMBase.cc:4270
MyProblem
Definition:
TemplateDriver.cpp:35
References
DPMBase::setName()
, and
DPMBase::solve()
.
Drivers
Template
TemplateDriver.cpp
Generated on Fri Jul 21 2023 15:03:37 for MercuryDPM by
1.9.1