Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #include "LevelSetReinitializationProblem.h" 11 : 12 : registerMooseObject("LevelSetApp", LevelSetReinitializationProblem); 13 : 14 : InputParameters 15 94 : LevelSetReinitializationProblem::validParams() 16 : { 17 94 : InputParameters params = FEProblem::validParams(); 18 94 : params.addClassDescription("A specialied problem that has a method for resetting time for level " 19 : "set reinitialization execution."); 20 94 : return params; 21 0 : } 22 : 23 47 : LevelSetReinitializationProblem::LevelSetReinitializationProblem(const InputParameters & parameters) 24 47 : : FEProblem(parameters) 25 : { 26 47 : } 27 : 28 : void 29 86 : LevelSetReinitializationProblem::resetTime() 30 : { 31 86 : _time = 0.0; 32 86 : _time_old = 0.0; 33 86 : _t_step = 0; 34 86 : _termination_requested = false; 35 86 : }