https://mooseframework.inl.gov
HFEMTestJump.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 "DGKernel.h"
13 
27 class HFEMTestJump : public DGKernel
28 {
29 public:
31 
33 
34 protected:
36  virtual Real computeQpJacobian(Moose::DGJacobianType) override { return 0; }
37  virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override;
38 
41 
44 
47 
50 
52  const unsigned int _lambda_id;
53 };
virtual Real computeQpJacobian(Moose::DGJacobianType) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
Definition: HFEMTestJump.h:36
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DGResidualType
Definition: MooseTypes.h:743
The HFEMTestJump class computes an L2 product (lambda, [u*])_Gamma, where Gamma is the set of interna...
Definition: HFEMTestJump.h:27
const unsigned int _lambda_id
Variable id for lambda.
Definition: HFEMTestJump.h:52
The DGKernel class is responsible for calculating the residuals for various physics on internal sides...
Definition: DGKernel.h:18
virtual Real computeQpResidual(Moose::DGResidualType type) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
Definition: HFEMTestJump.C:34
HFEMTestJump(const InputParameters &parameters)
Definition: HFEMTestJump.C:23
const std::string & type() const
Get the type of this class.
Definition: MooseBase.h:51
OutputTools< Real >::VariableValue VariableValue
Definition: MooseTypes.h:314
DGJacobianType
Definition: MooseTypes.h:749
const MooseVariable & _lambda_var
Variable for the lagrange multiplier lambda.
Definition: HFEMTestJump.h:40
static InputParameters validParams()
Definition: HFEMTestJump.C:15
forward declarations
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
const VariableValue & _lambda
Current lambda solution at the current side quadrature point.
Definition: HFEMTestJump.h:43
const VariablePhiValue & _test_lambda
lambda test function at the current side quadrature point
Definition: HFEMTestJump.h:49
const VariablePhiValue & _phi_lambda
lambda shape function at the current side quadrature point
Definition: HFEMTestJump.h:46
virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override
This is the virtual that derived classes should override for computing the off-diag Jacobian...
Definition: HFEMTestJump.C:55