LCOV - code coverage report
Current view: top level - src/bcs - NSMassSpecifiedNormalFlowBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 0 15 0.0 %
Date: 2025-08-14 10:14:56 Functions: 0 5 0.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 "NSMassSpecifiedNormalFlowBC.h"
      11             : 
      12             : registerMooseObject("NavierStokesApp", NSMassSpecifiedNormalFlowBC);
      13             : 
      14             : InputParameters
      15           0 : NSMassSpecifiedNormalFlowBC::validParams()
      16             : {
      17           0 :   InputParameters params = NSMassBC::validParams();
      18           0 :   params.addClassDescription("This class implements the mass equation boundary term with a "
      19             :                              "specified value of rho*(u.n) imposed weakly.");
      20           0 :   params.addRequiredParam<Real>("rhoun", "The specified value of rho*(u.n) for this boundary");
      21           0 :   return params;
      22           0 : }
      23             : 
      24           0 : NSMassSpecifiedNormalFlowBC::NSMassSpecifiedNormalFlowBC(const InputParameters & parameters)
      25           0 :   : NSMassBC(parameters), _rhoun(getParam<Real>("rhoun"))
      26             : {
      27           0 : }
      28             : 
      29             : Real
      30           0 : NSMassSpecifiedNormalFlowBC::computeQpResidual()
      31             : {
      32           0 :   return qpResidualHelper(_rhoun);
      33             : }
      34             : 
      35             : Real
      36           0 : NSMassSpecifiedNormalFlowBC::computeQpJacobian()
      37             : {
      38           0 :   return 0.0;
      39             : }
      40             : 
      41             : Real
      42           0 : NSMassSpecifiedNormalFlowBC::computeQpOffDiagJacobian(unsigned /*jvar*/)
      43             : {
      44           0 :   return 0.0;
      45             : }

Generated by: LCOV version 1.14