https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
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
25void
registerMooseObject("RayTracingApp", RayDistanceAux)
static InputParameters validParams()
void addValue(const Real value)
Use to accumulate a value into the corresponding AuxVariable from this AuxRayKernel.
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.
RayDistanceAux(const InputParameters &params)
static InputParameters validParams()
const Real & _current_segment_length
The length of the current Ray's segment.