https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DGDiffusion.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
24class DGDiffusion : public DGKernel
25{
26public:
28
30
31protected:
32 virtual Real computeQpResidual(Moose::DGResidualType type) override;
33 virtual Real computeQpJacobian(Moose::DGJacobianType type) override;
34
36 Real _sigma;
39};
DG kernel for diffusion.
Definition DGDiffusion.h:25
const MaterialProperty< Real > & _diff_neighbor
Definition DGDiffusion.h:38
const MaterialProperty< Real > & _diff
Definition DGDiffusion.h:37
virtual Real computeQpResidual(Moose::DGResidualType type) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
Definition DGDiffusion.C:41
static InputParameters validParams()
Definition DGDiffusion.C:18
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
Definition DGDiffusion.C:76
The DGKernel class is responsible for calculating the residuals for various physics on internal sides...
Definition DGKernel.h:19
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