https://mooseframework.inl.gov
FVBoundaryScalarLagrangeMultiplierConstraint.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 "FVFluxBC.h"
13 
19 {
20 public:
22 
24 
25  const MooseVariableScalar & lambdaVariable() const { return _lambda_var; }
26 
27 protected:
30 
31 private:
32  void computeResidual(const FaceInfo & fi) override final;
33  void computeJacobian(const FaceInfo & fi) override final;
34 
37 
40 };
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...
Base class for implementing constraints on boundaries for finite volume variables using scalar Lagran...
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:36
Real PostprocessorValue
various MOOSE typedefs
Definition: MooseTypes.h:202
Provides an interface for computing residual contributions from finite volume numerical fluxes comput...
Definition: FVFluxBC.h:23
const ADVariableValue & _lambda
The Lagrange Multiplier value.
forward declarations
const MooseVariableScalar & _lambda_var
The Lagrange Multiplier variable.
Class for scalar variables (they are different).
const InputParameters & parameters() const
Get the parameters of the object.
void computeJacobian(const FaceInfo &fi) override final
Compute the jacobian on the supplied face.
const PostprocessorValue & _phi0
The value that we want the average/point-value/etc. of the primal variable to be equal to...