LCOV - code coverage report
Current view: top level - src/kokkos/bcs - KokkosNeumannBC.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31653 (2d163b) with base 0cc44f Lines: 11 12 91.7 %
Date: 2025-11-04 20:38:02 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      413567 : registerKokkosResidualObject("MooseApp", KokkosNeumannBC);
      13             : 
      14             : InputParameters
      15        9608 : KokkosNeumannBC::validParams()
      16             : {
      17        9608 :   InputParameters params = IntegratedBC::validParams();
      18       19254 :   params.addParam<Real>("value",
      19       19140 :                         0.0,
      20             :                         "For a Laplacian problem, the value of the gradient dotted with the "
      21             :                         "normals on the boundary.");
      22       28824 :   params.declareControllable("value");
      23        9608 :   params.addClassDescription("Imposes the integrated boundary condition "
      24             :                              "$\\frac{\\partial u}{\\partial n}=h$, "
      25             :                              "where $h$ is a constant, controllable value.");
      26        9608 :   return params;
      27           0 : }
      28             : 
      29         146 : KokkosNeumannBC::KokkosNeumannBC(const InputParameters & parameters)
      30         220 :   : IntegratedBC(parameters), _value(getParam<Real>("value"))
      31             : {
      32         128 : }

Generated by: LCOV version 1.14