LCOV - code coverage report
Current view: top level - src/base - LevelSetReinitializationProblem.C (source / functions) Hit Total Coverage
Test: idaholab/moose level_set: #31405 (292dce) with base fef103 Lines: 13 14 92.9 %
Date: 2025-09-04 07:53:58 Functions: 3 3 100.0 %
Legend: Lines: hit not hit

          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 : }

Generated by: LCOV version 1.14