https://mooseframework.inl.gov
ComputeLineSearchObjectWrapper.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/libmesh_common.h"
13 
14 #include "libmesh/petsc_nonlinear_solver.h"
15 #include <petscsnes.h>
16 
17 class FEProblemBase;
18 
23  : public libMesh::PetscNonlinearSolver<libMesh::Real>::ComputeLineSearchObject
24 {
25 public:
27 
31  void linesearch(SNESLineSearch line_search_object) override;
32 
33 protected:
35 };
void linesearch(SNESLineSearch line_search_object) override
Shim that calls into the MOOSE line search system using FEProblemBase::linesearch.
Wrapper of the libmesh ComputeLineSearchObject.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
ComputeLineSearchObjectWrapper(FEProblemBase &fe_problem)