LCOV - code coverage report
Current view: top level - src/raykernels - KillRayKernel.C (source / functions) Hit Total Coverage
Test: idaholab/moose ray_tracing: #31405 (292dce) with base fef103 Lines: 7 8 87.5 %
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 "KillRayKernel.h"
      11             : 
      12             : registerMooseObject("RayTracingApp", KillRayKernel);
      13             : 
      14             : InputParameters
      15          10 : KillRayKernel::validParams()
      16             : {
      17          10 :   auto params = GeneralRayKernel::validParams();
      18          10 :   params.addClassDescription("A RayKernel that kills a Ray.");
      19          10 :   return params;
      20           0 : }
      21             : 
      22           6 : KillRayKernel::KillRayKernel(const InputParameters & params) : GeneralRayKernel(params) {}
      23             : 
      24             : void
      25           4 : KillRayKernel::onSegment()
      26             : {
      27             :   currentRay()->setShouldContinue(false);
      28           4 : }

Generated by: LCOV version 1.14