LCOV - code coverage report
Current view: top level - src/kokkos/bcs - KokkosMatNeumannBC.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 9 10 90.0 %
Date: 2026-05-29 20:35:17 Functions: 3 3 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             : #include "KokkosMatNeumannBC.h"
      11             : 
      12      443905 : registerKokkosResidualObject("MooseApp", KokkosMatNeumannBC);
      13             : 
      14             : InputParameters
      15        2116 : KokkosMatNeumannBC::validParams()
      16             : {
      17        2116 :   InputParameters params = KokkosNeumannBC::validParams();
      18        4232 :   params.addClassDescription("Imposes the integrated boundary condition "
      19             :                              "$\\frac{C \\partial u}{\\partial n}=M*h$, "
      20             :                              "where $h$ is a constant, $M$ is a material property, and $C$ is a "
      21             :                              "coefficient defined by the kernel for $u$.");
      22        6348 :   params.addRequiredParam<MaterialPropertyName>(
      23             :       "boundary_material",
      24             :       "Material property multiplying the constant that will be enforced by the BC");
      25        2116 :   return params;
      26           0 : }
      27             : 
      28           9 : KokkosMatNeumannBC::KokkosMatNeumannBC(const InputParameters & parameters)
      29             :   : KokkosNeumannBC(parameters),
      30          18 :     _boundary_prop(getKokkosMaterialProperty<Real>("boundary_material"))
      31             : {
      32           9 : }

Generated by: LCOV version 1.14