https://mooseframework.inl.gov
CoupledPenaltyInterfaceDiffusion.h
Go to the documentation of this file.
1 //* 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 {
19 public:
21 
23 
24 protected:
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 };
virtual Real computeQpResidual(Moose::DGResidualType type) override
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
DGResidualType
virtual void computeElementOffDiagJacobian(unsigned int jvar) override
DG kernel for interfacing diffusion between two variables on adjacent blocks.
virtual void computeNeighborOffDiagJacobian(unsigned int jvar) override
const std::string & type() const
OutputTools< Real >::VariableValue VariableValue
DGJacobianType
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar) override
CoupledPenaltyInterfaceDiffusion(const InputParameters &parameters)
const InputParameters & parameters() const