https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADBoundaryFlux3EqnGhostBase.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
21{
22public:
24
25protected:
26 virtual void calcFlux(unsigned int iside,
27 dof_id_type ielem,
28 const std::vector<ADReal> & U1,
29 const RealVectorValue & normal,
30 std::vector<ADReal> & flux) const override;
31
40 virtual std::vector<ADReal> getGhostCellSolution(const std::vector<ADReal> & U1,
41 const Point & point) const = 0;
42
46 const Real & _normal;
47
48public:
50};
Computes boundary fluxes for the 1-D, variable-area Euler equations using a numerical flux user objec...
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.
virtual std::vector< ADReal > getGhostCellSolution(const std::vector< ADReal > &U1, const Point &point) const =0
Gets the solution vector in the ghost cell.
const ADNumericalFlux3EqnBase & _numerical_flux
Numerical flux user object.
A base class for computing/caching fluxes at boundaries.
Base class for computing numerical fluxes for FlowModelSinglePhase.
const InputParameters & parameters() const