[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
#include <viscous_numerical_flux.hpp>
Public Member Functions | |
CentralViscousNumericalFlux (std::shared_ptr< Physics::PhysicsBase< dim, nstate, real >> physics_input, std::shared_ptr< ArtificialDissipationBase< dim, nstate >> artificial_dissipation_input) | |
Constructor. | |
std::array< real, nstate > | evaluate_solution_flux (const std::array< real, nstate > &soln_int, const std::array< real, nstate > &soln_ext, const dealii::Tensor< 1, dim, real > &normal_int) const override |
Evaluate solution flux at the interface. More... | |
std::array< real, nstate > | evaluate_auxiliary_flux (const dealii::types::global_dof_index current_cell_index, const dealii::types::global_dof_index neighbor_cell_index, const real artificial_diss_coeff_int, const real artificial_diss_coeff_ext, const std::array< real, nstate > &soln_int, const std::array< real, nstate > &soln_ext, const std::array< dealii::Tensor< 1, dim, real >, nstate > &soln_grad_int, const std::array< dealii::Tensor< 1, dim, real >, nstate > &soln_grad_ext, const dealii::Tensor< 1, dim, real > &normal_int, const real &penalty, const bool on_boundary=false) const override |
Evaluate auxiliary flux at the interface. More... | |
![]() | |
NumericalFluxDissipative (std::shared_ptr< Physics::PhysicsBase< dim, nstate, real >> physics_input, std::shared_ptr< ArtificialDissipationBase< dim, nstate >> artificial_dissipation_input) | |
Constructor. | |
virtual | ~NumericalFluxDissipative ()=default |
Abstract class must have a virtual destructor and an implementation. | |
Additional Inherited Members | |
![]() | |
const std::shared_ptr< Physics::PhysicsBase< dim, nstate, real > > | pde_physics |
Associated physics. | |
const std::shared_ptr< ArtificialDissipationBase< dim, nstate > > | artificial_dissip |
Link to artificial dissipation. | |
Central Flux method.
Definition at line 52 of file viscous_numerical_flux.hpp.
|
overridevirtual |
Evaluate auxiliary flux at the interface.
\[ \hat{A} = {{ A \nabla u_h }} - \mu {{ A }} [[ u_h ]] \]
Note that \(\mu\) must be chosen to have a stable scheme.
Implements PHiLiP::NumericalFlux::NumericalFluxDissipative< dim, nstate, real >.
Definition at line 66 of file viscous_numerical_flux.cpp.
|
overridevirtual |
Evaluate solution flux at the interface.
\[\hat{u} = {u_h} \]
Implements PHiLiP::NumericalFlux::NumericalFluxDissipative< dim, nstate, real >.
Definition at line 54 of file viscous_numerical_flux.cpp.