LCOV - code coverage report
Current view: top level - src/actions - ControlDataIntegrityCheckAction.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #31405 (292dce) with base fef103 Lines: 11 11 100.0 %
Date: 2025-09-04 07:58:41 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 "ControlDataIntegrityCheckAction.h"
      11             : #include "THMProblem.h"
      12             : #include "ThermalHydraulicsApp.h"
      13             : 
      14             : registerMooseAction("ThermalHydraulicsApp",
      15             :                     ControlDataIntegrityCheckAction,
      16             :                     "THM:control_data_integrity_check");
      17             : 
      18             : InputParameters
      19        5417 : ControlDataIntegrityCheckAction::validParams()
      20             : {
      21        5417 :   InputParameters params = Action::validParams();
      22             : 
      23        5417 :   return params;
      24             : }
      25             : 
      26        5417 : ControlDataIntegrityCheckAction::ControlDataIntegrityCheckAction(const InputParameters & parameters)
      27        5417 :   : Action(parameters)
      28             : {
      29        5417 : }
      30             : 
      31             : void
      32        5177 : ControlDataIntegrityCheckAction::act()
      33             : {
      34        5177 :   THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
      35        5177 :   if (thm_problem)
      36        3730 :     thm_problem->controlDataIntegrityCheck();
      37        5175 : }

Generated by: LCOV version 1.14