LCOV - code coverage report
Current view: top level - src/actions - IntegrityCheckAction.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 10 10 100.0 %
Date: 2025-07-30 13:02:48 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 "IntegrityCheckAction.h"
      11             : #include "THMProblem.h"
      12             : #include "ThermalHydraulicsApp.h"
      13             : 
      14             : registerMooseAction("ThermalHydraulicsApp", IntegrityCheckAction, "THM:integrity_check");
      15             : 
      16             : InputParameters
      17        5416 : IntegrityCheckAction::validParams()
      18             : {
      19        5416 :   InputParameters params = Action::validParams();
      20             : 
      21        5416 :   return params;
      22             : }
      23             : 
      24        5416 : IntegrityCheckAction::IntegrityCheckAction(const InputParameters & parameters) : Action(parameters)
      25             : {
      26        5416 : }
      27             : 
      28             : void
      29        5350 : IntegrityCheckAction::act()
      30             : {
      31        5350 :   THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
      32        5350 :   if (thm_problem)
      33        3889 :     thm_problem->integrityCheck();
      34        5196 : }

Generated by: LCOV version 1.14