www.mooseframework.org
LevelSetReinitializationProblem.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
9 
10 template <>
11 InputParameters
13 {
14  InputParameters params = validParams<FEProblem>();
15  params.addClassDescription("A specialied problem that has a method for resetting time for level "
16  "set reinitialization execution.");
17  return params;
18 }
19 
21  : FEProblem(parameters)
22 {
23 }
24 
25 void
27 {
28  _time = 0.0;
29  _time_old = 0.0;
30  _t_step = 0;
31  _termination_requested = false;
32 }
LevelSetReinitializationProblem(const InputParameters &parameters)
void resetTime()
Resets the state of the simulation to allow for it to be re-executed.
InputParameters validParams< LevelSetReinitializationProblem >()