LCOV - code coverage report
Current view: top level - include/components - FlowChannel1Phase.h (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #31039 (75bfb3) with base bb0a08 Lines: 1 1 100.0 %
Date: 2025-11-03 14:57:48 Functions: 1 1 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             : #pragma once
      11             : 
      12             : #include "FlowChannel1PhaseBase.h"
      13             : 
      14             : /**
      15             :  * Single-component, single-phase flow channel
      16             :  */
      17             : class FlowChannel1Phase : public FlowChannel1PhaseBase
      18             : {
      19             : public:
      20             :   static InputParameters validParams();
      21             : 
      22             :   FlowChannel1Phase(const InputParameters & params);
      23             : 
      24             :   virtual void addMooseObjects() override;
      25       11869 :   virtual const THM::FlowModelID & getFlowModelID() const override { return THM::FM_SINGLE_PHASE; }
      26             :   virtual std::vector<std::string> ICParameters() const override;
      27             :   virtual Convergence * getNonlinearConvergence() const override;
      28             : 
      29             : protected:
      30             :   virtual void check() const override;
      31             :   virtual void checkFluidProperties() const override;
      32             :   virtual std::string flowModelClassName() const override;
      33             : 
      34             :   /// Checks the residual scaling factors
      35             :   void checkScalingFactors() const;
      36             :   /// Adds the nonlinear convergence object
      37             :   void addNonlinearConvergence();
      38             : 
      39             :   /// Nonlinear convergence name
      40             :   const std::string _nl_conv_name;
      41             : };

Generated by: LCOV version 1.14