https://mooseframework.inl.gov
NumericalFlux3EqnDGKernel.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 
15 
30 {
31 public:
33 
34 protected:
37  virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar);
38 
44  std::map<unsigned int, unsigned int> getIndexMapping() const;
45 
49 
50  // reconstructed variable values in this cell
55 
56  // reconstructed variable values in neighbor cell
61 
64 
65  // coupled variable indices
66  const unsigned int _rhoA_var;
67  const unsigned int _rhouA_var;
68  const unsigned int _rhoEA_var;
69 
71  const std::map<unsigned int, unsigned int> _jmap;
72 
74  const unsigned int _equation_index;
75 
76 public:
78 };
static InputParameters validParams()
Adds side fluxes for the 1-D, 1-phase, variable-area Euler equations.
virtual Real computeQpResidual(Moose::DGResidualType type)
const NumericalFlux3EqnBase & _numerical_flux
Numerical flux user object.
DGResidualType
Abstract base class for computing and caching internal or boundary fluxes for RDG for the 3-equation ...
const std::map< unsigned int, unsigned int > _jmap
map of coupled variable index to equations variable index convention
const MaterialProperty< Real > & _rhouA1
std::map< unsigned int, unsigned int > getIndexMapping() const
Creates the mapping of coupled variable index to index in Euler system.
virtual Real computeQpOffDiagJacobian(Moose::DGJacobianType type, unsigned int jvar)
const std::string & type() const
const MaterialProperty< Real > & _rhoEA1
const MaterialProperty< Real > & _rhoA2
virtual Real computeQpJacobian(Moose::DGJacobianType type)
OutputTools< Real >::VariableValue VariableValue
DGJacobianType
const MaterialProperty< Real > & _rhouA2
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _p2
const unsigned int _equation_index
index within the Euler system of the equation upon which this kernel acts
const InputParameters & parameters() const
const MaterialProperty< Real > & _rhoEA2
const MaterialProperty< Real > & _p1
const VariableValue & _A_elem
Area.
NumericalFlux3EqnDGKernel(const InputParameters &parameters)
const MaterialProperty< Real > & _rhoA1