LCOV - code coverage report
Current view: top level - src/kokkos/nodalkernels - KokkosConstantRate.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 6f668f Lines: 9 10 90.0 %
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://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 "KokkosConstantRate.h"
      11             : 
      12             : registerMooseObject("MooseApp", KokkosConstantRate);
      13             : 
      14             : InputParameters
      15        9182 : KokkosConstantRate::validParams()
      16             : {
      17        9182 :   InputParameters params = NodalKernel::validParams();
      18       18364 :   params.addClassDescription("Computes residual or the rate in a simple ODE of du/dt = rate.");
      19       27546 :   params.addRequiredParam<Real>("rate", "The constant rate in 'du/dt = rate'");
      20       27546 :   params.declareControllable("rate");
      21        9182 :   return params;
      22           0 : }
      23             : 
      24          45 : KokkosConstantRate::KokkosConstantRate(const InputParameters & parameters)
      25          54 :   : NodalKernel(parameters), _rate(getParam<Real>("rate"))
      26             : {
      27          36 : }

Generated by: LCOV version 1.14