https://mooseframework.inl.gov
MassMatrixHDG.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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"
13 
19 class MassMatrixHDG : public HDGKernel
20 {
21 public:
23 
25 
26  virtual void computeResidual() override {}
27  virtual void computeJacobian() override {}
28  virtual void computeOffDiagJacobian(unsigned int) override {}
29  virtual void computeResidualOnSide() override {}
30  virtual void computeJacobianOnSide() override;
31 
32 protected:
34  const Real _density;
36 };
This class computes a mass for facet unkowns on interior faces just like MassMatrixDGKernel.
Definition: MassMatrixHDG.h:19
static InputParameters validParams()
Definition: MassMatrixHDG.C:19
virtual void computeResidual() override
Definition: MassMatrixHDG.h:26
const InputParameters & parameters() const
const VariablePhiValue & _face_phi
Definition: MassMatrixHDG.h:33
OutputTools< Real >::VariablePhiValue VariablePhiValue
virtual void computeJacobianOnSide() override
Definition: MassMatrixHDG.C:39
DenseMatrix< Number > _mass
Definition: MassMatrixHDG.h:35
virtual void computeJacobian() override
Definition: MassMatrixHDG.h:27
const Real _density
Definition: MassMatrixHDG.h:34
virtual void computeResidualOnSide() override
Definition: MassMatrixHDG.h:29
MassMatrixHDG(const InputParameters &parameters)
Definition: MassMatrixHDG.C:33
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void computeOffDiagJacobian(unsigned int) override
Definition: MassMatrixHDG.h:28