LCOV - code coverage report
Current view: top level - src/kokkos/bcs - KokkosNeumannBC.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 11 12 91.7 %
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://www.mooseframework.org
       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 "KokkosNeumannBC.h"
      11             : 
      12      443905 : registerKokkosResidualObject("MooseApp", KokkosNeumannBC);
      13             : 
      14             : InputParameters
      15        4598 : KokkosNeumannBC::validParams()
      16             : {
      17        4598 :   InputParameters params = IntegratedBCValue::validParams();
      18        9328 :   params.addParam<Real>("value",
      19        8932 :                         0.0,
      20             :                         "For a Laplacian problem, the value of the gradient dotted with the "
      21             :                         "normals on the boundary.");
      22       13794 :   params.declareControllable("value");
      23        4598 :   params.addClassDescription("Imposes the integrated boundary condition "
      24             :                              "$\\frac{\\partial u}{\\partial n}=h$, "
      25             :                              "where $h$ is a constant, controllable value.");
      26        4598 :   return params;
      27           0 : }
      28             : 
      29         265 : KokkosNeumannBC::KokkosNeumannBC(const InputParameters & parameters)
      30         274 :   : IntegratedBCValue(parameters), _value(getParam<Real>("value"))
      31             : {
      32         201 : }

Generated by: LCOV version 1.14