https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DiffusionLHDGKernel.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 "HDGKernel.h"
14
19{
20public:
22
24 virtual void computeResidual() override;
28 virtual void computeJacobian() override;
32 virtual void computeOffDiagJacobian(unsigned int jvar) override;
33 virtual void computeResidualOnSide() override;
34 virtual void computeJacobianOnSide() override;
35 virtual void initialSetup() override;
36 virtual void jacobianSetup() override;
37
38 virtual std::set<std::string> additionalROVariables() override;
39
40protected:
43};
Implements all the methods for assembling a hybridized local discontinuous Galerkin (LDG-H),...
Implements the diffusion equation for a hybridized discretization.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Forwards to computeJacobian() the first time this is called for a given element.
virtual void computeResidual() override
Compute this Kernel's contribution to the residual.
virtual void computeJacobianOnSide() override
virtual void computeJacobian() override
Compute this object's entire Jacobian, both on- and off-diagonal.
static InputParameters validParams()
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
virtual void computeResidualOnSide() override
const Moose::Functor< Real > & _source
optional source
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job.
virtual std::set< std::string > additionalROVariables() override
Base kernel for hybridized finite element formulations.
Definition HDGKernel.h:18
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...