LCOV - code coverage report
Current view: top level - src/controllogic - THMControl.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 11 11 100.0 %
Date: 2025-07-30 13:02:48 Functions: 2 2 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 "THMControl.h"
      11             : 
      12             : InputParameters
      13       22082 : THMControl::validParams()
      14             : {
      15       22082 :   InputParameters params = Control::validParams();
      16       88328 :   params.set<ExecFlagEnum>("execute_on") = {EXEC_INITIAL, EXEC_TIMESTEP_BEGIN};
      17       22082 :   params.addPrivateParam<THMProblem *>("_thm_problem");
      18       22082 :   params.suppressParameter<ExecFlagEnum>("execute_on");
      19       22082 :   params.registerBase("THMControl");
      20       22082 :   return params;
      21       22082 : }
      22             : 
      23       11034 : THMControl::THMControl(const InputParameters & parameters)
      24       22068 :   : Control(parameters), _sim(getParam<THMProblem *>("_thm_problem"))
      25             : {
      26       11034 : }

Generated by: LCOV version 1.14