www.mooseframework.org
EqualGradientLagrangeMultiplier.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 "InterfaceKernel.h"
13 
19 {
20 public:
22 
24 
25 protected:
28  virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override;
29 
31  const unsigned int _component;
32 
35  unsigned int _element_jvar;
37 
39  unsigned int _neighbor_jvar;
40 
43 };
OutputTools< Real >::VariableGradient VariableGradient
virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override
EqualGradientLagrangeMultiplier(const InputParameters &parameters)
DGResidualType
unsigned int _neighbor_jvar
variable to control gradient on the secondary side of the interface
virtual Real computeQpResidual(Moose::DGResidualType type) override
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
const std::string & type() const
const unsigned int _component
x,y,z component of the gradient to constrain
const VariableGradient & _grad_element_value
variable to control gradient on the primary side of the interface
const Real _jacobian_fill
compensate Jacobian fill term from NullKernel
DGJacobianType
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Lagrange multiplier "FaceKernel" that is used in conjunction with EqualGradientLagrangeInterface.