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

Generated by: LCOV version 1.14