https://mooseframework.inl.gov
FVBoundedValueConstraint.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 
13 
28 {
29 public:
31 
33 
34 private:
35  ADReal computeQpResidual() override final;
36 
39 
41  enum BoundType
42  {
45  };
46 };
const MooseEnum _bound_type
What type of bound (min or max) this kernel intends to apply.
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for implementing constraints on finite volume variable elemental values using scalar Lagra...
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
ADReal computeQpResidual() override final
This is the primary function that must be implemented for flux kernel terms.
FVBoundedValueConstraint(const InputParameters &parameters)
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:33
This Kernel implements the residuals that enforce the constraint.
const InputParameters & parameters() const
Get the parameters of the object.
BoundType
What type of constraint we are going to enforce.