https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RayIntegralValue.h
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#pragma once
11
13
14// Local includes
15#include "Ray.h"
16
17// Forward declarations
18class RayTracingStudy;
19
24{
25public:
27
29
30 virtual void initialize() override;
31 virtual void execute() override {}
32
33 virtual Real getValue() const override;
34
35private:
37 unsigned int _ray_data_index;
42};
unsigned long int RayID
Type for a Ray's ID.
Definition Ray.h:44
const InputParameters & parameters() const
Obtains the integrated value accumulated into a Ray from an IntegralRayKernel-derived class.
unsigned int _ray_data_index
The Ray data index where the integral value resides.
RayID _ray_id
The ID of the Ray that we seek the value from.
virtual Real getValue() const override
virtual void execute() override
const RayTracingStudy * _study
The RayTracingStudy to get the value from.
static InputParameters validParams()
virtual void initialize() override
Base class for Ray tracing studies that will generate Rays and then propagate all of them to terminat...