https://mooseframework.inl.gov
Loading...
Searching...
No Matches
contact
include
linesearches
PetscContactLineSearch.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
#include "libmesh/petsc_macro.h"
14
15
#include "
ContactLineSearchBase.h
"
16
17
using namespace
libMesh
;
18
19
namespace
libMesh
20
{
21
template
<
typename
>
22
class
PetscNonlinearSolver
;
23
}
24
28
class
PetscContactLineSearch
:
public
ContactLineSearchBase
29
{
30
public
:
31
static
InputParameters
validParams
();
32
33
PetscContactLineSearch
(
const
InputParameters
&
parameters
);
34
35
virtual
void
lineSearch
()
override
;
36
37
protected
:
38
PetscNonlinearSolver<Real>
*
_solver
;
39
};
ContactLineSearchBase.h
ContactLineSearchBase
This class implements a custom line search for use with mechanical contact.
Definition
ContactLineSearchBase.h:35
LineSearch::parameters
const InputParameters & parameters() const
PetscContactLineSearch
Petsc implementation of the contact line search (based on the Petsc LineSearchShell)
Definition
PetscContactLineSearch.h:29
PetscContactLineSearch::lineSearch
virtual void lineSearch() override
Definition
PetscContactLineSearch.C:36
PetscContactLineSearch::validParams
static InputParameters validParams()
Definition
PetscContactLineSearch.C:20
PetscContactLineSearch::_solver
PetscNonlinearSolver< Real > * _solver
Definition
PetscContactLineSearch.h:38
libMesh::PetscNonlinearSolver
libMesh
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
InputParameters
Generated on Fri Aug 21 2026 13:40:57 for https://mooseframework.inl.gov by
1.9.8