https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MortarConstraint.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
13
15{
16public:
18
20
21 // Using declarations necessary to pull in computeResidual with different parameter list and avoid
22 // hidden method warning
24
25 // Using declarations necessary to pull in computeJacobian with different parameter list and avoid
26 // hidden method warning
28
29protected:
33 virtual void computeResidual(Moose::MortarType mortar_type) override;
34
38 virtual void computeJacobian(Moose::MortarType mortar_type) override;
39
43 virtual Real computeQpResidual(Moose::MortarType mortar_type) = 0;
44
49 unsigned int jvar) = 0;
50
51private:
54
55protected:
58
61
64
67
70
73
76
79
82};
OutputTools< RealVectorValue >::VariablePhiValue VectorVariablePhiValue
Definition MooseTypes.h:370
OutputTools< Real >::VariablePhiValue VariablePhiValue
Definition MooseTypes.h:353
OutputTools< Real >::VariableGradient VariableGradient
Definition MooseTypes.h:349
OutputTools< Real >::VariableValue VariableValue
Definition MooseTypes.h:348
OutputTools< Real >::VariablePhiGradient VariablePhiGradient
Definition MooseTypes.h:354
OutputTools< RealVectorValue >::VariablePhiGradient VectorVariablePhiGradient
Definition MooseTypes.h:371
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
User for mortar methods.
virtual void computeJacobian() override
Method for computing the Jacobian.
virtual void computeResidual() override
Method for computing the residual.
const VariableGradient & _grad_u_secondary
The primal solution gradient on the secondary side.
const VariablePhiGradient * _grad_phi
The current shape function gradients.
virtual Real computeQpResidual(Moose::MortarType mortar_type)=0
compute the residual at the quadrature points
const VariablePhiValue * _phi
The current shape functions.
const VectorVariablePhiGradient * _vector_grad_phi
The current shape function gradients for vector variables.
static InputParameters validParams()
const VariableGradient & _grad_u_primary
The primal solution gradient on the primary side.
const VectorVariablePhiValue * _vector_phi
The current shape functions for vector variables.
const VariableValue & _u_secondary
The primal solution on the secondary side.
virtual Real computeQpJacobian(Moose::ConstraintJacobianType jacobian_type, unsigned int jvar)=0
compute the jacobian at the quadrature points
virtual void computeJacobian() override
Method for computing the Jacobian.
const VariableValue _lambda_dummy
A dummy object useful for constructing _lambda when not using Lagrange multipliers.
virtual void computeResidual() override
Method for computing the residual.
const VariableValue & _lambda
The LM solution.
const VariableValue & _u_primary
The primal solution on the primary side.
ConstraintJacobianType
Definition MooseTypes.h:851