https://mooseframework.inl.gov
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 
12 #include "MortarConstraintBase.h"
13 
15 {
16 public:
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 
29 protected:
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 
51 private:
54 
55 protected:
58 
61 
64 
67 
70 
73 
76 
79 
82 };
OutputTools< Real >::VariableGradient VariableGradient
Definition: MooseTypes.h:315
User for mortar methods.
static InputParameters validParams()
const VectorVariablePhiValue * _vector_phi
The current shape functions for vector variables.
const VariableValue _lambda_dummy
A dummy object useful for constructing _lambda when not using Lagrange multipliers.
const VariablePhiValue * _phi
The current shape functions.
virtual Real computeQpJacobian(Moose::ConstraintJacobianType jacobian_type, unsigned int jvar)=0
compute the jacobian at the quadrature points
const VariableGradient & _grad_u_primary
The primal solution gradient on the primary side.
MortarType
Definition: MooseTypes.h:770
const VariableValue & _lambda
The LM solution.
const VariablePhiGradient * _grad_phi
The current shape function gradients.
const VectorVariablePhiGradient * _vector_grad_phi
The current shape function gradients for vector variables.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
OutputTools< Real >::VariablePhiValue VariablePhiValue
Definition: MooseTypes.h:319
OutputTools< RealVectorValue >::VariablePhiGradient VectorVariablePhiGradient
Definition: MooseTypes.h:337
const VariableGradient & _grad_u_secondary
The primal solution gradient on the secondary side.
const VariableValue & _u_secondary
The primal solution on the secondary side.
MortarConstraint(const InputParameters &parameters)
virtual void computeResidual() override
Method for computing the residual.
OutputTools< Real >::VariableValue VariableValue
Definition: MooseTypes.h:314
const VariableValue & _u_primary
The primal solution on the primary side.
forward declarations
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
OutputTools< RealVectorValue >::VariablePhiValue VectorVariablePhiValue
Definition: MooseTypes.h:336
ConstraintJacobianType
Definition: MooseTypes.h:796
virtual void computeJacobian() override
Method for computing the Jacobian.
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real computeQpResidual(Moose::MortarType mortar_type)=0
compute the residual at the quadrature points