https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
24
26
27protected:
30
31private:
32 void computeResidual(const FaceInfo & fi) override final;
33 void computeJacobian(const FaceInfo & fi) override final;
34
37
40};
Real PostprocessorValue
various MOOSE typedefs
Definition MooseTypes.h:230
Base class for implementing constraints on boundaries for finite volume variables using scalar Lagran...
const ADVariableValue & _lambda
The Lagrange Multiplier value.
void computeResidual(const FaceInfo &fi) override final
Compute the residual on the supplied face.
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.
const MooseVariableScalar & _lambda_var
The Lagrange Multiplier variable.
Provides an interface for computing residual contributions from finite volume numerical fluxes comput...
Definition FVFluxBC.h:27
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition FaceInfo.h:38
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
Class for scalar variables (they are different).