https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
21public:
23
25
26protected:
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};
A base class for computing/caching fluxes at boundaries.
Base class for boundary fluxes for FlowModelGasMix using ghost cells.
const NumericalFluxGasMixBase & _numerical_flux
Numerical flux user object.
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.
const Real & _normal
Outward normal.
virtual std::vector< ADReal > getGhostCellSolution(const std::vector< ADReal > &U1) const =0
Gets the solution vector in the ghost cell.
const InputParameters & parameters() const
Base class for computing numerical fluxes for FlowModelGasMix.