LCOV - code coverage report
Current view: top level - include/bcs - ConvectiveFluxFunction.h (source / functions) Hit Total Coverage
Test: idaholab/moose heat_transfer: #31405 (292dce) with base fef103 Lines: 1 1 100.0 %
Date: 2025-09-04 07:53:51 Functions: 2 2 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 "IntegratedBC.h"
      13             : 
      14             : class ConvectiveFluxFunction : public IntegratedBC
      15             : {
      16             : public:
      17             :   static InputParameters validParams();
      18             : 
      19             :   ConvectiveFluxFunction(const InputParameters & parameters);
      20         968 :   virtual ~ConvectiveFluxFunction() {}
      21             : 
      22             : protected:
      23             :   virtual Real computeQpResidual() override;
      24             :   virtual Real computeQpJacobian() override;
      25             : 
      26             :   /// Far-field temperature
      27             :   const Function & _T_infinity;
      28             : 
      29             :   /// Heat transfer coefficient
      30             :   const Function & _coefficient;
      31             : 
      32             :   /// Enum used to define the type of function used for the heat transfer coefficient
      33             :   enum class CoefFuncType
      34             :   {
      35             :     TIME_AND_POSITION,
      36             :     TEMPERATURE
      37             :   };
      38             : 
      39             :   /// Type of function used for the heat transfer coefficient
      40             :   const CoefFuncType _coef_func_type;
      41             : };

Generated by: LCOV version 1.14