https://mooseframework.inl.gov
PenaltyInterfaceDiffusion.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 "GenericInterfaceKernel.h"
13 
17 template <typename T, bool is_ad>
19 {
20 public:
22 
24 
25 protected:
28 
29  const Real _penalty;
30 
31  std::string _jump_prop_name;
33 
35 };
36 
GenericReal< is_ad > computeQpResidual(Moose::DGResidualType type) override
Compute residuals at quadrature points.
Moose::GenericType< Real, is_ad > GenericReal
Definition: MooseTypes.h:648
PenaltyInterfaceDiffusionTempl< Real, false > PenaltyInterfaceDiffusion
Real computeQpJacobian(Moose::DGJacobianType type) override
Compute jacobians at quadrature points.
PenaltyInterfaceDiffusionTempl< RealVectorValue, false > VectorPenaltyInterfaceDiffusion
Interface kernel for interfacing diffusion between two variables on adjacent blocks.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const GenericMaterialProperty< T, is_ad > *const _jump
DGResidualType
Definition: MooseTypes.h:743
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
const std::string & type() const
Get the type of this class.
Definition: MooseBase.h:51
PenaltyInterfaceDiffusionTempl< RealVectorValue, true > ADVectorPenaltyInterfaceDiffusion
DGJacobianType
Definition: MooseTypes.h:749
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
PenaltyInterfaceDiffusionTempl< Real, true > ADPenaltyInterfaceDiffusion
PenaltyInterfaceDiffusionTempl(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.