LCOV - code coverage report
Current view: top level - src/components - SolidWallGasMix.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #32971 (54bef8) with base c6cf66 Lines: 15 16 93.8 %
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 "SolidWallGasMix.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", SolidWallGasMix);
      13             : 
      14             : InputParameters
      15          36 : SolidWallGasMix::validParams()
      16             : {
      17          36 :   InputParameters params = FlowBoundaryGasMix::validParams();
      18          36 :   params.addClassDescription("Wall boundary condition component for FlowChannelGasMix.");
      19          36 :   return params;
      20           0 : }
      21             : 
      22          18 : SolidWallGasMix::SolidWallGasMix(const InputParameters & params) : FlowBoundaryGasMix(params) {}
      23             : 
      24             : void
      25          18 : SolidWallGasMix::addMooseObjects()
      26             : {
      27             :   // boundary flux user object
      28             :   {
      29          18 :     const std::string class_name = "BoundaryFluxGasMixGhostWall";
      30          18 :     InputParameters params = _factory.getValidParams(class_name);
      31          18 :     params.set<UserObjectName>("numerical_flux") = _numerical_flux_name;
      32          18 :     params.set<Real>("normal") = _normal;
      33          90 :     params.set<ExecFlagEnum>("execute_on") = {EXEC_INITIAL, EXEC_LINEAR, EXEC_NONLINEAR};
      34          18 :     getTHMProblem().addUserObject(class_name, _boundary_uo_name, params);
      35          18 :   }
      36             : 
      37             :   // BCs
      38          18 :   addWeakBCs();
      39          36 : }

Generated by: LCOV version 1.14