https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
17class FEProblemBase;
18
23 : public libMesh::PetscNonlinearSolver<libMesh::Real>::ComputeLineSearchObject
24{
25public:
27
31 void linesearch(SNESLineSearch line_search_object) override;
32
33protected:
35};
Wrapper of the libmesh ComputeLineSearchObject.
void linesearch(SNESLineSearch line_search_object) override
Shim that calls into the MOOSE line search system using FEProblemBase::linesearch.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.