23 params.addRequiredParam<NonlinearVariableName>(
24 "variable",
"The name of the variable that this residual object operates on");
26 params.declareControllable(
"enable");
27 params.set<
bool>(
"_residual_object") =
true;
54 _assembly(_subproblem.assembly(_tid, _sys.number())),
55 _mesh(_subproblem.
mesh())
69 "This object has not yet implemented 'computeResidualAndJacobian'. If you would like that " 70 "feature for this object, please contact a MOOSE developer.");
virtual void prepareShapes(unsigned int var, const THREAD_ID tid)=0
Interface for objects that need parallel consistent random numbers without patterns over the course o...
virtual void computeResidualAndJacobian()
Compute this object's contribution to the residual and Jacobian simultaneously.
A class for creating restricted objects.
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
virtual void prepareShapes(unsigned int var_num)
Prepare shape functions.
static InputParameters validParams()
Base class for a system (of equations)
THREAD_ID _tid
The thread ID for this kernel.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Interface for objects that needs transient capabilities.
static InputParameters validParams()
Interface for notifications that the mesh has changed.
Every object that can be built by the factory should be derived from this class.
SubProblem & _subproblem
Reference to this kernel's SubProblem.
static InputParameters validParams()
ResidualObject(const InputParameters ¶meters, bool nodal=false)
Class constructor.
static InputParameters validParams()
Interface for objects that need to use UserObjects.
T getCheckedPointerParam(const std::string &name, const std::string &error_string="") const
Verifies that the requested parameter exists and is not NULL and returns it to the caller...
Generic class for solving transient nonlinear problems.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
static InputParameters validParams()
Interface for objects that need to use functions.
Interface class for classes which interact with Postprocessors.
FEProblemBase & _fe_problem