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
namespace
libMesh
18
{
19
template
<
typename
>
20
class
PetscNonlinearSolver
;
21
}
22
using
libMesh::PetscNonlinearSolver
;
23
27
class
PetscContactLineSearch
:
public
ContactLineSearchBase
28
{
29
public
:
30
static
InputParameters
validParams
();
31
32
PetscContactLineSearch
(
const
InputParameters
&
parameters
);
33
34
virtual
void
lineSearch
()
override
;
35
36
protected
:
37
PetscNonlinearSolver<Real>
*
_solver
;
38
};
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:28
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:37
libMesh::PetscNonlinearSolver
libMesh::PetscNonlinearSolver
libMesh
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
InputParameters
Generated on Mon Sep 28 2026 20:37:06 for https://mooseframework.inl.gov by
1.9.8