https://mooseframework.inl.gov
Loading...
Searching...
No Matches
VariableIntegralRayKernel.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
11
13
16{
18
19 params.addClassDescription("Integrates a Variable or AuxVariable along a Ray.");
20
21 params.addRequiredCoupledVar("variable", "The name of the variable to integrate");
22
23 return params;
24}
25
27 : IntegralRayKernel(params), _u(coupledValue("variable"))
28{
29}
30
31Real
registerMooseObject("RayTracingApp", VariableIntegralRayKernel)
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
The current quadrature point index.
Base class for a RayKernel that integrates along a Ray segment and stores the result in a scalar valu...
static InputParameters validParams()
const VariableValue & _u
Holds the solution at current quadrature points.
VariableIntegralRayKernel(const InputParameters &params)
virtual Real computeQpIntegral() override
static InputParameters validParams()