LCOV - code coverage report
Current view: top level - src/kokkos/bcs - KokkosNeumannBC.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 6f668f Lines: 10 11 90.9 %
Date: 2025-09-22 20:01:15 Functions: 2 2 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             : registerMooseObject("MooseApp", KokkosNeumannBC);
      13             : 
      14             : InputParameters
      15        9230 : KokkosNeumannBC::validParams()
      16             : {
      17        9230 :   InputParameters params = IntegratedBC::validParams();
      18       18490 :   params.addParam<Real>("value",
      19       18400 :                         0.0,
      20             :                         "For a Laplacian problem, the value of the gradient dotted with the "
      21             :                         "normals on the boundary.");
      22       27690 :   params.declareControllable("value");
      23        9230 :   params.addClassDescription("Imposes the integrated boundary condition "
      24             :                              "$\\frac{\\partial u}{\\partial n}=h$, "
      25             :                              "where $h$ is a constant, controllable value.");
      26        9230 :   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