#include <NormalNodalMechanicalContact.h>
◆ NormalNodalMechanicalContact()
NormalNodalMechanicalContact::NormalNodalMechanicalContact |
( |
const InputParameters & |
parameters | ) |
|
◆ computeJacobian()
void NormalNodalMechanicalContact::computeJacobian |
( |
| ) |
|
|
override |
◆ computeOffDiagJacobian()
void NormalNodalMechanicalContact::computeOffDiagJacobian |
( |
unsigned int |
jvar | ) |
|
|
override |
Definition at line 54 of file NormalNodalMechanicalContact.C.
61 MooseVariableFEBase & var = _sys.getVariable(0, jvar);
62 _connected_dof_indices.clear();
63 _connected_dof_indices.push_back(var.nodalDofIndex());
70 _Kne.resize(_test_master.size(), 1);
72 for (_i = 0; _i < _test_master.size(); ++_i)
◆ computeQpJacobian()
Real NormalNodalMechanicalContact::computeQpJacobian |
( |
Moose::ConstraintJacobianType |
type | ) |
|
|
overrideprotectedvirtual |
◆ computeQpOffDiagJacobian()
Real NormalNodalMechanicalContact::computeQpOffDiagJacobian |
( |
Moose::ConstraintJacobianType |
type, |
|
|
unsigned |
jvar |
|
) |
| |
|
overrideprotectedvirtual |
Definition at line 110 of file NormalNodalMechanicalContact.C.
113 std::map<dof_id_type, PenetrationInfo *>::iterator found =
114 _penetration_locator._penetration_info.find(_current_node->id());
115 if (found != _penetration_locator._penetration_info.end())
117 PenetrationInfo * pinfo = found->second;
125 case Moose::SlaveSlave:
127 case Moose::MasterSlave:
128 return _test_master[_i][_qp] * pinfo->_normal(
_component);
Referenced by computeOffDiagJacobian().
◆ computeQpResidual()
Real NormalNodalMechanicalContact::computeQpResidual |
( |
Moose::ConstraintType |
type | ) |
|
|
overrideprotectedvirtual |
Definition at line 77 of file NormalNodalMechanicalContact.C.
79 std::map<dof_id_type, PenetrationInfo *>::iterator found =
80 _penetration_locator._penetration_info.find(_current_node->id());
81 if (found != _penetration_locator._penetration_info.end())
83 PenetrationInfo * pinfo = found->second;
88 case Moose::ConstraintType::Slave:
93 case Moose::ConstraintType::Master:
◆ computeQpSlaveValue()
Real NormalNodalMechanicalContact::computeQpSlaveValue |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ _component
const MooseEnum NormalNodalMechanicalContact::_component |
|
protected |
◆ _epsilon
const Real NormalNodalMechanicalContact::_epsilon |
|
protected |
◆ _lambda
const Real& NormalNodalMechanicalContact::_lambda |
|
protected |
◆ _lambda_id
const unsigned NormalNodalMechanicalContact::_lambda_id |
|
protected |
The documentation for this class was generated from the following files: