LCOV - code coverage report
Current view: top level - src/kokkos/bcs - KokkosDirectionalNeumannBC.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 10 11 90.9 %
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 "KokkosDirectionalNeumannBC.h"
      11             : 
      12      443905 : registerKokkosResidualObject("MooseApp", KokkosDirectionalNeumannBC);
      13             : 
      14             : InputParameters
      15        2302 : KokkosDirectionalNeumannBC::validParams()
      16             : {
      17        2302 :   InputParameters params = IntegratedBCValue::validParams();
      18        7004 :   params.addParam<RealVectorValue>(
      19        4408 :       "vector_value", RealVectorValue(), "vector this BC should act in");
      20        2302 :   params.addClassDescription("Imposes the integrated boundary condition "
      21             :                              "$\\frac{\\partial u}{\\partial n}=\\vec{V}\\cdot\\hat{n}$, "
      22             :                              "where $\\vec{V}$ is a user-defined, constant vector.");
      23        2302 :   return params;
      24           0 : }
      25             : 
      26         150 : KokkosDirectionalNeumannBC::KokkosDirectionalNeumannBC(const InputParameters & parameters)
      27         108 :   : IntegratedBCValue(parameters), _value(getParam<RealVectorValue>("vector_value"))
      28             : {
      29         102 : }

Generated by: LCOV version 1.14