https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
27class HFEMTestJump : public DGKernel
28{
29public:
31
33
34protected:
35 virtual Real computeQpResidual(Moose::DGResidualType type) override;
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};
OutputTools< Real >::VariablePhiValue VariablePhiValue
Definition MooseTypes.h:353
OutputTools< Real >::VariableValue VariableValue
Definition MooseTypes.h:348
The DGKernel class is responsible for calculating the residuals for various physics on internal sides...
Definition DGKernel.h:19
The HFEMTestJump class computes an L2 product (lambda, [u*])_Gamma, where Gamma is the set of interna...
const VariablePhiValue & _test_lambda
lambda test function at the current side quadrature point
const MooseVariable & _lambda_var
Variable for the lagrange multiplier lambda.
static InputParameters validParams()
virtual Real computeQpResidual(Moose::DGResidualType type) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
const VariableValue & _lambda
Current lambda solution at the current side quadrature point.
virtual Real computeQpJacobian(Moose::DGJacobianType) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
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.
const unsigned int _lambda_id
Variable id for lambda.
const VariablePhiValue & _phi_lambda
lambda shape function at the current side quadrature point
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
const std::string & type() const
Get the type of this class.
Definition MooseBase.h:93
DGResidualType
Definition MooseTypes.h:798
DGJacobianType
Definition MooseTypes.h:804