LCOV - code coverage report
Current view: top level - include/linearfvbcs - LinearFVAdvectionDiffusionFunctorNeumannBC.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 1 1 100.0 %
Date: 2025-07-17 01:28:37 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 "LinearFVAdvectionDiffusionBC.h"
      13             : 
      14             : /**
      15             :  * Class implementing a Neumann boundary condition for linear finite
      16             :  * volume variables. This is only applicable for advection-diffusion problems.
      17             :  */
      18             : class LinearFVAdvectionDiffusionFunctorNeumannBC : public LinearFVAdvectionDiffusionBC
      19             : {
      20             : public:
      21             :   /**
      22             :    * Class constructor.
      23             :    * @param parameters The InputParameters for the object
      24             :    */
      25             :   LinearFVAdvectionDiffusionFunctorNeumannBC(const InputParameters & parameters);
      26             : 
      27             :   static InputParameters validParams();
      28             : 
      29             :   virtual Real computeBoundaryValue() const override;
      30             : 
      31             :   virtual Real computeBoundaryNormalGradient() const override;
      32             : 
      33             :   virtual Real computeBoundaryValueMatrixContribution() const override;
      34             : 
      35             :   virtual Real computeBoundaryValueRHSContribution() const override;
      36             : 
      37             :   virtual Real computeBoundaryGradientMatrixContribution() const override;
      38             : 
      39             :   virtual Real computeBoundaryGradientRHSContribution() const override;
      40             : 
      41       26348 :   virtual bool includesMaterialPropertyMultiplier() const override { return true; }
      42             : 
      43             : protected:
      44             :   /// The functor for this BC (can be variable, function, etc)
      45             :   const Moose::Functor<Real> & _functor;
      46             : 
      47             :   /// The functor for the diffusion coefficient
      48             :   const Moose::Functor<Real> & _diffusion_coeff;
      49             : };

Generated by: LCOV version 1.14