A freestream boundary condition that sets only the ingoing characteristics. More...
#include <Boundary_condition.hpp>
Public Member Functions | |
Riemann_invariants (Mat<> freestream_state) | |
virtual void | apply_state (Boundary_face &) |
applies boundary condition to state variables (Dirichlet BCs) | |
virtual void | apply_flux (Boundary_face &) |
applies boundary condition to viscous fluxes (if applicable) | |
![]() | |
virtual void | apply_advection (Boundary_face &) |
applies boundary condition to linear advection equation used to compute nonsmoothness indicator | |
virtual void | apply_diffusion (Boundary_face &) |
virtual void | flux_diffusion (Boundary_face &) |
virtual void | init_cache (Boundary_face &) |
initialize Boundary_face::state_cache at beginning of simulation (used by Cache_bc ) | |
A freestream boundary condition that sets only the ingoing characteristics.
Works in almost any situation. Should generally be the default farfield boundary condition.
|
virtual |
applies boundary condition to viscous fluxes (if applicable)
Implements hexed::Flow_bc.
|
virtual |
applies boundary condition to state variables (Dirichlet BCs)
writes to the first n_var()*size()
entries of ghost_state()
(called on the provided Boundary_face
.)
Implements hexed::Flow_bc.