https://mooseframework.inl.gov
UserForcingFunctorNodalKernel.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 "ADNodalKernel.h"
13 #include "MooseFunctorForward.h"
14 
19 {
20 public:
25 
27 
28 protected:
29  virtual ADReal computeQpResidual() override;
30 
32 };
Represents the rate in a simple ODE of du/dt = f.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
const Moose::Functor< ADReal > & _functor
Base class for creating nodal kernels with AD-computed Jacobians.
Definition: ADNodalKernel.h:18
virtual ADReal computeQpResidual() override
The user can override this function to compute the residual at a node.
static InputParameters validParams()
Constructor grabs the Function.
const InputParameters & parameters() const
Get the parameters of the object.
UserForcingFunctorNodalKernel(const InputParameters &parameters)