LCOV - code coverage report
Current view: top level - include/linearfvbcs - LinearFVAdvectionDiffusionOutflowBC.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 2 2 100.0 %
Date: 2026-05-29 20:35:17 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 "LinearFVAdvectionDiffusionExtrapolatedBC.h"
      13             : 
      14             : /**
      15             :  * Class implementing an outflow boundary condition for linear finite
      16             :  * volume variables. This is compatible with advection-diffusion problems.
      17             :  */
      18             : class LinearFVAdvectionDiffusionOutflowBC : public LinearFVAdvectionDiffusionExtrapolatedBC
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   /**
      24             :    * Class constructor.
      25             :    * @param parameters The InputParameters for the object
      26             :    */
      27             :   LinearFVAdvectionDiffusionOutflowBC(const InputParameters & parameters);
      28             : 
      29             :   /**
      30             :    * We assume zero normal gradient for outflow boundary conditions so these
      31             :    * need to be changed
      32             :    */
      33             :   ///@{
      34             :   virtual Real computeBoundaryNormalGradient() const override;
      35             :   virtual Real computeBoundaryGradientMatrixContribution() const override;
      36             :   virtual Real computeBoundaryGradientRHSContribution() const override;
      37             :   ///@}
      38             : 
      39         378 :   virtual bool useBoundaryGradientExtrapolation() const override { return false; }
      40         828 :   virtual bool includesMaterialPropertyMultiplier() const override { return true; }
      41             : };

Generated by: LCOV version 1.14