https://mooseframework.inl.gov
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 {
20 public:
22 
23  DiffusionLHDGKernel(const InputParameters & params);
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 
40 protected:
43 
45  const QBase * const & _qrule_face;
46 
49 
52 
55 };
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
A kernel for hybridized finite element formulations.
Definition: HDGKernel.h:17
static InputParameters validParams()
virtual void computeResidual() override
Compute this Kernel&#39;s contribution to the residual.
const MooseArray< Point > & _normals
face normals
virtual void computeJacobian() override
Compute this object&#39;s entire Jacobian, both on- and off-diagonal.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
virtual void computeResidualOnSide() override
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const Moose::Functor< Real > & _source
optional source
const MooseArray< Point > & _q_point_face
The physical locations of the quadrature points on the face.
Implements the diffusion equation for a hybridized discretization.
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job...
virtual void computeOffDiagJacobian(unsigned int jvar) override
Forwards to computeJacobian() the first time this is called for a given element.
virtual std::set< std::string > additionalROVariables() override
Implements all the methods for assembling a hybridized local discontinuous Galerkin (LDG-H)...
virtual void computeJacobianOnSide() override
const MooseArray< Real > & _JxW_face
transformed Jacobian weights on the current element face
DiffusionLHDGKernel(const InputParameters &params)
const QBase *const & _qrule_face
The face quadrature rule.