www.mooseframework.org
AEFVUpwindInternalSideFlux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef AEFVUpwindINTERNALSIDEFLUX_H
9 #define AEFVUpwindINTERNALSIDEFLUX_H
10 
11 #include "InternalSideFluxBase.h"
12 
13 // Forward Declarations
15 
16 template <>
18 
25 {
26 public:
27  AEFVUpwindInternalSideFlux(const InputParameters & parameters);
29 
30  virtual void calcFlux(unsigned int iside,
31  dof_id_type ielem,
32  dof_id_type ineig,
33  const std::vector<Real> & uvec1,
34  const std::vector<Real> & uvec2,
35  const RealVectorValue & dwave,
36  std::vector<Real> & flux) const override;
37 
38  virtual void calcJacobian(unsigned int iside,
39  dof_id_type ielem,
40  dof_id_type ineig,
41  const std::vector<Real> & uvec1,
42  const std::vector<Real> & uvec2,
43  const RealVectorValue & dwave,
44  DenseMatrix<Real> & jac1,
45  DenseMatrix<Real> & jac2) const override;
46 
47 protected:
48 };
49 
50 #endif
virtual void calcJacobian(unsigned int iside, dof_id_type ielem, dof_id_type ineig, const std::vector< Real > &uvec1, const std::vector< Real > &uvec2, const RealVectorValue &dwave, DenseMatrix< Real > &jac1, DenseMatrix< Real > &jac2) const override
Compute the Jacobian matrix.
Upwind numerical flux scheme for the advection equation using a cell-centered finite volume method...
InputParameters validParams< AEFVUpwindInternalSideFlux >()
virtual void calcFlux(unsigned int iside, dof_id_type ielem, dof_id_type ineig, const std::vector< Real > &uvec1, const std::vector< Real > &uvec2, const RealVectorValue &dwave, std::vector< Real > &flux) const override
Solve the Riemann problem.
A base class for computing and caching internal side flux.
AEFVUpwindInternalSideFlux(const InputParameters &parameters)