https://mooseframework.inl.gov
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
15 class Function;
16 
17 template <bool is_ad>
19 {
20 public:
22 
24 
25 protected:
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< false > LineSourceRayKernel
Moose::GenericType< Real, is_ad > GenericReal
LineSourceRayKernelTempl(const InputParameters &params)
virtual GenericReal< is_ad > computeQpResidual() override
Compute this RayKernel&#39;s contribution to the residual at _qp and _i.
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 std::vector< RayDataIndex > _ray_data_factor_indices
Indices into the Ray data that we want to scale the residual by (may be empty)
const Real & _scale
Scale factor.
const Function & _function
Optional function value.
const PostprocessorValue & _postprocessor
Optional Postprocessor value.
Real PostprocessorValue
LineSourceRayKernelTempl< true > ADLineSourceRayKernel
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()