https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18template <bool is_ad>
25
26template <>
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>::setJacobian; \
39 using GenericArrayNodalKernel<is_ad>::paramError
Base class for creating nodal kernels with hand-coded Jacobians.
static InputParameters validParams()
Class constructor.
Base class for creating nodal kernels with hand-coded Jacobians.
static InputParameters validParams()
Class constructor.
GenericArrayNodalKernel(const InputParameters &parameters)
Template for array nodal kernels, using or not automatic differentiation.
GenericArrayNodalKernel(const InputParameters &parameters)
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131