https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ScalarLagrangeMultiplier.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 "Kernel.h"
13
33{
34public:
36
39
40 virtual void computeOffDiagJacobianScalar(unsigned int jvar) override;
41
42protected:
43 virtual Real computeQpResidual() override;
44 virtual Real computeQpOffDiagJacobianScalar(unsigned int jvar) override;
45
47 unsigned int _lambda_var;
48
51};
OutputTools< Real >::VariableValue VariableValue
Definition MooseTypes.h:348
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
This Kernel implements part of the equation that enforces the constraint of.
static InputParameters validParams()
unsigned int _lambda_var
Lagrange multiplier variable ID.
const VariableValue & _lambda
Lagrange multiplier variable value.
virtual void computeOffDiagJacobianScalar(unsigned int jvar) override
Computes jacobian block with respect to a scalar variable.
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
virtual Real computeQpOffDiagJacobianScalar(unsigned int jvar) override
For coupling scalar variables.