https://mooseframework.inl.gov
GenericArrayNodalKernel.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 "ArrayNodalKernel.h"
13 #include "ADArrayNodalKernel.h"
14 
18 template <bool is_ad>
20 {
21 public:
24 };
25 
26 template <>
28 {
29 public:
32 };
33 
34 #define usingGenericArrayNodalKernelMembers \
35  using GenericArrayNodalKernel<is_ad>::_count; \
36  using GenericArrayNodalKernel<is_ad>::_u; \
37  using GenericArrayNodalKernel<is_ad>::_qp; \
38  using GenericArrayNodalKernel<is_ad>::paramError
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Template for array nodal kernels, using or not automatic differentiation.
GenericArrayNodalKernel(const InputParameters &parameters)
static InputParameters validParams()
Class constructor.
GenericArrayNodalKernel(const InputParameters &parameters)
static InputParameters validParams()
Class constructor.
Base class for creating nodal kernels with hand-coded Jacobians.
static InputParameters validParams()
static InputParameters validParams()
Base class for creating nodal kernels with hand-coded Jacobians.