https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeResidualAndJacobian.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 "libmesh/nonlinear_implicit_system.h"
13
14class FEProblemBase;
15
16namespace libMesh
17{
18template <typename>
19class NumericVector;
20template <typename>
21class SparseMatrix;
22class NonlinearImplicitSystem;
23}
24
void residual_and_jacobian(const libMesh::NumericVector< libMesh::Number > &u, libMesh::NumericVector< libMesh::Number > *R, libMesh::SparseMatrix< libMesh::Number > *J, libMesh::NonlinearImplicitSystem &) override
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...