https://mooseframework.inl.gov
IntegralRayKernelBase.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 
12 #include "RayKernelBase.h"
13 
14 // Forward declarations
15 class Assembly;
16 class MooseMesh;
17 
22 {
23 public:
24  IntegralRayKernelBase(const InputParameters & params);
25 
27 
28  virtual void preExecuteStudy() override;
29  virtual void onSegment() override = 0;
30 
31 protected:
34 
37 
40 
42  unsigned int _qp;
43 };
Base class for a RayKernel that integrates along a Ray segment.
Base object for the RayKernel syntax.
Definition: RayKernelBase.h:27
IntegralRayKernelBase(const InputParameters &params)
virtual void onSegment() override=0
Called on each segment of a Ray.
const MooseArray< Real > & _JxW
The current quadrature point weight value.
unsigned int _qp
The current quadrature point index.
virtual void preExecuteStudy() override
Insertion point called immediately before executing the RayTracingStudy.
static InputParameters validParams()
const MooseArray< Point > & _q_point
The physical location of the segment&#39;s quadrature points, indexed by _qp.
Assembly & _assembly
Reference to the Assembly object.