https://mooseframework.inl.gov
RayDistanceAux.C
Go to the documentation of this file.
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 "RayDistanceAux.h"
11 
12 registerMooseObject("RayTracingApp", RayDistanceAux);
13 
16 {
17  auto params = AuxRayKernel::validParams();
18  params.addClassDescription("Accumulates the distance traversed by each Ray segment into an aux "
19  "variable for the element that the segments are in.");
20  return params;
21 }
22 
24 
25 void
27 {
29 }
void addValue(const Real value)
Use to accumulate a value into the corresponding AuxVariable from this AuxRayKernel.
Definition: AuxRayKernel.C:48
const Real & _current_segment_length
The length of the current Ray's segment.
RayDistanceAux(const InputParameters &params)
static InputParameters validParams()
static InputParameters validParams()
Definition: AuxRayKernel.C:16
registerMooseObject("RayTracingApp", RayDistanceAux)
AuxRayKernel that accumulates the distance traversed by each Ray segment in the element that said seg...
virtual void onSegment() override
Called on each segment of a Ray.