LCOV - code coverage report
Current view: top level - src/bcs - ImplicitNeumannBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 0 13 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 "ImplicitNeumannBC.h"
      11             : 
      12             : registerMooseObject("NavierStokesApp", ImplicitNeumannBC);
      13             : 
      14             : InputParameters
      15           0 : ImplicitNeumannBC::validParams()
      16             : {
      17           0 :   InputParameters params = IntegratedBC::validParams();
      18           0 :   params.addClassDescription("This class implements a form of the Neumann boundary condition in "
      19             :                              "which the boundary term is treated 'implicitly'.");
      20           0 :   return params;
      21           0 : }
      22             : 
      23           0 : ImplicitNeumannBC::ImplicitNeumannBC(const InputParameters & parameters) : IntegratedBC(parameters)
      24             : {
      25           0 : }
      26             : 
      27             : Real
      28           0 : ImplicitNeumannBC::computeQpResidual()
      29             : {
      30           0 :   return _grad_u[_qp] * _normals[_qp] * _test[_i][_qp];
      31             : }
      32             : 
      33             : Real
      34           0 : ImplicitNeumannBC::computeQpJacobian()
      35             : {
      36           0 :   return (_grad_phi[_j][_qp] * _normals[_qp]) * _test[_i][_qp];
      37             : }
      38             : 
      39             : Real
      40           0 : ImplicitNeumannBC::computeQpOffDiagJacobian(unsigned /*jvar*/)
      41             : {
      42             :   // off-diagonal derivatives are all zero.
      43           0 :   return 0.;
      44             : }

Generated by: LCOV version 1.14