https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CoupledPenaltyInterfaceDiffusion.h
Go to the documentation of this file.
1
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 "InterfaceKernel.h"
13
18{
19public:
21
23
24protected:
25 virtual Real computeQpResidual(Moose::DGResidualType type) override;
26 virtual Real computeQpJacobian(Moose::DGJacobianType type) override;
27 virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override;
28 virtual void computeElementOffDiagJacobian(unsigned int jvar) override;
29 virtual void computeNeighborOffDiagJacobian(unsigned int jvar) override;
30
31 const Real _penalty;
34
35 const unsigned _primary_coupled_id;
36 const unsigned _secondary_coupled_id;
37};
DG kernel for interfacing diffusion between two variables on adjacent blocks.
virtual void computeElementOffDiagJacobian(unsigned int jvar) override
virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override
virtual Real computeQpResidual(Moose::DGResidualType type) override
virtual void computeNeighborOffDiagJacobian(unsigned int jvar) override
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
const InputParameters & parameters() const
const std::string & type() const
VariableValueTempl< false > VariableValue
DGResidualType
DGJacobianType