LCOV - code coverage report
Current view: top level - src/actions - THMSetupMeshAction.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #31405 (292dce) with base fef103 Lines: 9 9 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 "THMSetupMeshAction.h"
      11             : #include "THMProblem.h"
      12             : 
      13             : registerMooseAction("ThermalHydraulicsApp", THMSetupMeshAction, "THM:setup_mesh");
      14             : 
      15             : InputParameters
      16        5417 : THMSetupMeshAction::validParams()
      17             : {
      18        5417 :   InputParameters params = Action::validParams();
      19        5417 :   return params;
      20             : }
      21             : 
      22        5417 : THMSetupMeshAction::THMSetupMeshAction(const InputParameters & params) : Action(params) {}
      23             : 
      24             : void
      25        5353 : THMSetupMeshAction::act()
      26             : {
      27        5353 :   THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
      28        5353 :   if (thm_problem)
      29        3892 :     thm_problem->setupMesh();
      30        5353 : }

Generated by: LCOV version 1.14