https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LineSourceRayKernel.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 "GenericRayKernel.h"
13
14// Forward declarations
15class Function;
16
17template <bool is_ad>
19{
20public:
22
24
25protected:
26 virtual GenericReal<is_ad> computeQpResidual() override;
27
29 const Real & _scale;
30
33
36
38 const std::vector<RayDataIndex> _ray_data_factor_indices;
40 const std::vector<RayDataIndex> _ray_aux_data_factor_indices;
41
43};
44
LineSourceRayKernelTempl< true > ADLineSourceRayKernel
LineSourceRayKernelTempl< false > LineSourceRayKernel
Real PostprocessorValue
Moose::GenericType< Real, is_ad > GenericReal
virtual GenericReal< is_ad > computeQpResidual() override
Compute this RayKernel's contribution to the residual at _qp and _i.
const Real & _scale
Scale factor.
const std::vector< RayDataIndex > _ray_aux_data_factor_indices
Indices into the Ray aux data that we want to scale the residual by (may be empty)
const PostprocessorValue & _postprocessor
Optional Postprocessor value.
const Function & _function
Optional function value.
const std::vector< RayDataIndex > _ray_data_factor_indices
Indices into the Ray data that we want to scale the residual by (may be empty)
static InputParameters validParams()