https://mooseframework.inl.gov
FVScalarLagrangeMultiplierInterface.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 "FVInterfaceKernel.h"
13 
15 {
16 public:
19 
20  void computeResidual(const FaceInfo & fi) override final;
21  void computeJacobian(const FaceInfo & fi) override final;
22 
26  const MooseVariableScalar & lambdaVariable() const { return _lambda_var; }
27 
28 protected:
29  ADReal computeQpResidual() override = 0;
30 
33 
36 };
const MooseVariableScalar & lambdaVariable() const
void computeResidual(const FaceInfo &fi) override final
Compute the residual on the supplied face.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:36
Base class for creating kernels that interface physics between subdomains.
const ADVariableValue & _lambda
The Lagrange Multiplier value.
void computeJacobian(const FaceInfo &fi) override final
Compute the jacobian on the supplied face.
forward declarations
const MooseVariableScalar & _lambda_var
The Lagrange Multiplier variable.
FVScalarLagrangeMultiplierInterface(const InputParameters &params)
ADReal computeQpResidual() override=0
Class for scalar variables (they are different).