LCOV - code coverage report
Current view: top level - src/actions - AddRayKernelAction.C (source / functions) Hit Total Coverage
Test: idaholab/moose ray_tracing: #31405 (292dce) with base fef103 Lines: 10 11 90.9 %
Date: 2025-09-04 07:56:07 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 "AddRayKernelAction.h"
      11             : 
      12             : // Local includes
      13             : #include "RayKernelBase.h"
      14             : 
      15             : registerMooseAction("RayTracingApp", AddRayKernelAction, "add_ray_kernel");
      16             : 
      17             : InputParameters
      18        3316 : AddRayKernelAction::validParams()
      19             : {
      20        3316 :   auto params = AddRayTracingObjectAction::validParams();
      21        3316 :   params.addClassDescription("Adds a RayKernel for use in ray tracing to the simulation.");
      22        3316 :   return params;
      23           0 : }
      24             : 
      25        3316 : AddRayKernelAction::AddRayKernelAction(const InputParameters & params)
      26        3316 :   : AddRayTracingObjectAction(params)
      27             : {
      28        3316 : }
      29             : 
      30             : void
      31        3280 : AddRayKernelAction::addRayTracingObject()
      32             : {
      33        3280 :   _problem->addObject<RayKernelBase>(_type, _name, _moose_object_pars);
      34        3268 : }

Generated by: LCOV version 1.14