www.mooseframework.org
LevelSetReinitializationMultiApp.h
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 
8 #ifndef LEVELSETREINITIALIZATIONMULTIAPP_H
9 #define LEVELSETREINITIALIZATIONMULTIAPP_H
10 
11 #include "MultiApp.h"
12 
13 // Forward declarations
16 class Executioner;
17 
18 template <>
20 
26 class LevelSetReinitializationMultiApp : public MultiApp
27 {
28 public:
29  LevelSetReinitializationMultiApp(const InputParameters & parameters);
30 
31  virtual void initialSetup() override;
32  virtual void advanceStep() override {}
33  virtual bool solveStep(Real dt, Real target_time, bool auto_advance = true) override;
34 
35 protected:
38 
40  Executioner * _executioner;
41 
43  const unsigned int & _interval;
44 };
45 
46 #endif // LevelSetReinitializationMultiApp_H
InputParameters validParams< LevelSetReinitializationMultiApp >()
const unsigned int & _interval
The solve interval for reinitialization.
LevelSetReinitializationMultiApp(const InputParameters &parameters)
A Problem object to perform level set equation reinitialization implementation, mainly implementing a...
MultiApp that performs a time reset prior to solving, this enables the level set reinitialization to ...
LevelSetReinitializationProblem * _level_set_problem
Access to the level set specific problem to allow for the resetTime() method to be called...
virtual bool solveStep(Real dt, Real target_time, bool auto_advance=true) override
Executioner * _executioner
Access to the Executioner object to call execute()