https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ArrayDGDiffusion.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 "ArrayDGKernel.h"
13
18{
19public:
21
23
24protected:
25 virtual void initQpResidual(Moose::DGResidualType type) override;
26 virtual void computeQpResidual(Moose::DGResidualType type, RealEigenVector & residual) override;
27 virtual RealEigenVector computeQpJacobian(Moose::DGJacobianType type) override;
28
30 Real _sigma;
33
34 RealEigenVector _res1;
35 RealEigenVector _res2;
36};
Array version of DGDiffusion.
virtual void initQpResidual(Moose::DGResidualType type) override
Put necessary evaluations depending on qp but independent on test functions here.
const MaterialProperty< RealEigenVector > & _diff_neighbor
virtual void computeQpResidual(Moose::DGResidualType type, RealEigenVector &residual) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
RealEigenVector _res2
static InputParameters validParams()
const MaterialProperty< RealEigenVector > & _diff
RealEigenVector _res1
virtual RealEigenVector computeQpJacobian(Moose::DGJacobianType type) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
The DGKernel class is responsible for calculating the residuals for various physics on internal sides...
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