LCOV - code coverage report
Current view: top level - src/kokkos/bcs - KokkosNodalBCBase.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31706 (f8ed4a) with base bb0a08 Lines: 14 15 93.3 %
Date: 2025-11-03 17:23:24 Functions: 4 4 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 "KokkosNodalBCBase.h"
      11             : 
      12             : namespace Moose
      13             : {
      14             : namespace Kokkos
      15             : {
      16             : 
      17             : InputParameters
      18       30154 : NodalBCBase::validParams()
      19             : {
      20       30154 :   auto params = BoundaryCondition::validParams();
      21             : 
      22       30154 :   return params;
      23             : }
      24             : 
      25        1225 : NodalBCBase::NodalBCBase(const InputParameters & parameters, Moose::VarFieldType field_type)
      26             :   : BoundaryCondition(parameters, field_type, true),
      27         933 :     CoupleableMooseVariableDependencyIntermediateInterface(this, true)
      28             : {
      29        1225 : }
      30             : 
      31       60363 : NodalBCBase::NodalBCBase(const NodalBCBase & object)
      32       49634 :   : BoundaryCondition(object), CoupleableMooseVariableDependencyIntermediateInterface(object, {})
      33             : {
      34       60363 : }
      35             : 
      36             : std::vector<ContiguousNodeID>
      37        1441 : NodalBCBase::getContiguousNodes() const
      38             : {
      39        1441 :   std::vector<ContiguousNodeID> nodes(numKokkosBoundaryNodes());
      40             : 
      41        9914 :   for (unsigned int i = 0; i < numKokkosBoundaryNodes(); ++i)
      42        8473 :     nodes[i] = kokkosBoundaryNodeID(i);
      43             : 
      44        1441 :   return nodes;
      45           0 : }
      46             : 
      47             : } // namespace Kokkos
      48             : } // namespace Moose

Generated by: LCOV version 1.14