LCOV - code coverage report
Current view: top level - src/actions - THMPreconditioningIntegrityCheckAction.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #32971 (54bef8) with base c6cf66 Lines: 12 12 100.0 %
Date: 2026-05-29 20:41:18 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 "THMPreconditioningIntegrityCheckAction.h"
      11             : #include "THMProblem.h"
      12             : #include "ThermalHydraulicsApp.h"
      13             : 
      14             : registerMooseAction("ThermalHydraulicsApp",
      15             :                     THMPreconditioningIntegrityCheckAction,
      16             :                     "THM:preconditioning_integrity_check");
      17             : 
      18             : InputParameters
      19        2929 : THMPreconditioningIntegrityCheckAction::validParams()
      20             : {
      21        2929 :   InputParameters params = Action::validParams();
      22             : 
      23        2929 :   return params;
      24             : }
      25             : 
      26        2929 : THMPreconditioningIntegrityCheckAction::THMPreconditioningIntegrityCheckAction(
      27        2929 :     const InputParameters & parameters)
      28        2929 :   : Action(parameters)
      29             : {
      30        2929 : }
      31             : 
      32             : void
      33        2714 : THMPreconditioningIntegrityCheckAction::act()
      34             : {
      35        2714 :   THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
      36        2714 :   if (thm_problem)
      37        1960 :     thm_problem->couplingMatrixIntegrityCheck();
      38        2714 : }

Generated by: LCOV version 1.14