LCOV - code coverage report
Current view: top level - src/scmclosures - SCMMixingConstantBeta.C (source / functions) Hit Total Coverage
Test: idaholab/moose subchannel: #33187 (5aa0b2) with base d7c4bd Lines: 10 11 90.9 %
Date: 2026-06-30 12:24:57 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 "SCMMixingConstantBeta.h"
      11             : #include "SinglePhaseFluidProperties.h"
      12             : 
      13             : registerMooseObject("SubChannelApp", SCMMixingConstantBeta);
      14             : 
      15             : InputParameters
      16         271 : SCMMixingConstantBeta::validParams()
      17             : {
      18         271 :   InputParameters params = SCMMixingClosureBase::validParams();
      19         271 :   params.addClassDescription(
      20             :       "Class that models the turbulent mixing coefficient beta as a user defined constant.");
      21         542 :   params.addRequiredParam<Real>("beta", "Turbulent mixing parameter [-].");
      22         271 :   return params;
      23           0 : }
      24             : 
      25         140 : SCMMixingConstantBeta::SCMMixingConstantBeta(const InputParameters & parameters)
      26         280 :   : SCMMixingClosureBase(parameters), _beta(getParam<Real>("beta"))
      27             : {
      28         140 : }
      29             : 
      30             : Real
      31    32784240 : SCMMixingConstantBeta::computeMixingParameter(const unsigned int /*i_gap*/,
      32             :                                               const unsigned int /*iz*/) const
      33             : {
      34    32784240 :   return _beta;
      35             : }

Generated by: LCOV version 1.14