LCOV - code coverage report
Current view: top level - src/kokkos/bcs - KokkosIntegratedBCBase.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 6f668f Lines: 12 13 92.3 %
Date: 2025-09-22 20:01:15 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 "KokkosIntegratedBCBase.h"
      11             : 
      12             : namespace Moose
      13             : {
      14             : namespace Kokkos
      15             : {
      16             : 
      17             : InputParameters
      18       55058 : IntegratedBCBase::validParams()
      19             : {
      20       55058 :   auto params = BoundaryCondition::validParams();
      21       55058 :   params += MaterialPropertyInterface::validParams();
      22             : 
      23             :   // Integrated BCs always rely on Boundary MaterialData
      24       55058 :   params.set<Moose::MaterialDataType>("_material_data_type") = Moose::BOUNDARY_MATERIAL_DATA;
      25             : 
      26       55058 :   return params;
      27           0 : }
      28             : 
      29         201 : IntegratedBCBase::IntegratedBCBase(const InputParameters & parameters,
      30         201 :                                    Moose::VarFieldType field_type)
      31             :   : BoundaryCondition(parameters, field_type, false),
      32             :     CoupleableMooseVariableDependencyIntermediateInterface(this, false),
      33         154 :     MaterialPropertyInterface(this, Moose::EMPTY_BLOCK_IDS, boundaryIDs())
      34             : {
      35         201 : }
      36             : 
      37        8632 : IntegratedBCBase::IntegratedBCBase(const IntegratedBCBase & object)
      38             :   : BoundaryCondition(object),
      39             :     CoupleableMooseVariableDependencyIntermediateInterface(object, {}),
      40        7124 :     MaterialPropertyInterface(object, {})
      41             : {
      42        8632 : }
      43             : 
      44             : } // namespace Kokkos
      45             : } // namespace Moose

Generated by: LCOV version 1.14