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