LCOV - code coverage report
Current view: top level - src/kokkos/auxkernels - KokkosFunctionAux.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31653 (13b9bb) with base 7323e9 Lines: 9 10 90.0 %
Date: 2025-11-06 21:22:16 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 "KokkosFunctionAux.h"
      11             : 
      12      188060 : registerKokkosAuxKernel("MooseApp", KokkosFunctionAux);
      13             : 
      14             : InputParameters
      15        9424 : KokkosFunctionAux::validParams()
      16             : {
      17        9424 :   InputParameters params = AuxKernel::validParams();
      18       18848 :   params.addClassDescription("Auxiliary Kernel that creates and updates a field variable by "
      19             :                              "sampling a function through space and time.");
      20       28272 :   params.addRequiredParam<FunctionName>("function", "The function to use as the value");
      21        9424 :   return params;
      22           0 : }
      23             : 
      24          36 : KokkosFunctionAux::KokkosFunctionAux(const InputParameters & parameters)
      25          72 :   : AuxKernel(parameters), _func(getKokkosFunction("function"))
      26             : {
      27          36 : }

Generated by: LCOV version 1.14