www.mooseframework.org
contact
include
linesearches
PetscContactLineSearch.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/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
};
libMesh
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
libMesh::PetscNonlinearSolver
Definition:
PetscContactLineSearch.h:22
InputParameters
ContactLineSearchBase.h
ContactLineSearchBase
This class implements a custom line search for use with mechanical contact.
Definition:
ContactLineSearchBase.h:34
validParams
InputParameters validParams()
PetscContactLineSearch
Petsc implementation of the contact line search (based on the Petsc LineSearchShell) ...
Definition:
PetscContactLineSearch.h:28
PetscContactLineSearch::_solver
PetscNonlinearSolver< Real > * _solver
Definition:
PetscContactLineSearch.h:38
Generated on Fri Mar 29 2024 05:07:25 for www.mooseframework.org by
1.8.14