https://mooseframework.inl.gov
BoundaryFluxGasMixGhostBase.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 "ADBoundaryFluxBase.h"
13 
15 
20 {
21 public:
23 
25 
26 protected:
27  virtual void calcFlux(unsigned int iside,
28  dof_id_type ielem,
29  const std::vector<ADReal> & U1,
30  const RealVectorValue & normal,
31  std::vector<ADReal> & flux) const override;
32 
40  virtual std::vector<ADReal> getGhostCellSolution(const std::vector<ADReal> & U1) const = 0;
41 
45  const Real & _normal;
46 };
Base class for computing numerical fluxes for FlowModelGasMix.
static InputParameters validParams()
const Real & _normal
Outward normal.
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< ADReal > &U1, const RealVectorValue &normal, std::vector< ADReal > &flux) const override
Solve the Riemann problem on the boundary face.
Base class for boundary fluxes for FlowModelGasMix using ghost cells.
A base class for computing/caching fluxes at boundaries.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
BoundaryFluxGasMixGhostBase(const InputParameters &parameters)
const NumericalFluxGasMixBase & _numerical_flux
Numerical flux user object.
virtual std::vector< ADReal > getGhostCellSolution(const std::vector< ADReal > &U1) const =0
Gets the solution vector in the ghost cell.
uint8_t dof_id_type