www.mooseframework.org
ComputeFDResidualFunctor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
14 using namespace libMesh;
15 
16 class FEProblemBase;
17 
18 class ComputeFDResidualFunctor : public NonlinearImplicitSystem::ComputeResidual
19 {
20 private:
22 
23 public:
25 
26  void residual(const NumericVector<Number> & soln,
27  NumericVector<Number> & residual,
28  NonlinearImplicitSystem & sys) override;
29 };
30 
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.