https://mooseframework.inl.gov
MassFluxPenalty.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 "ADDGKernel.h"
13 
20 {
21 public:
23 
25 
26  virtual void computeResidual() override;
27 
28 protected:
30 
35  const unsigned short _comp;
37  const bool _matrix_only;
39  const Real _gamma;
40 };
This class introduces a jump correction for grad-div stabilization (see GradDiv) for discontinuous Ga...
const ADVariableValue & _vel_y_neighbor
const ADVariableValue & _vel_x
const unsigned short _comp
const ADVariableValue & _vel_x_neighbor
DGResidualType
DualNumber< Real, DNDerivativeType, true > ADReal
virtual void computeResidual() override
const bool _matrix_only
whether to avoid contributing to the residual
const Real _gamma
Stabilization magnitude parameter.
MassFluxPenalty(const InputParameters &parameters)
const std::string & type() const
static InputParameters validParams()
const ADVariableValue & _vel_y
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual ADReal computeQpResidual(Moose::DGResidualType type) override