Abstract class representing an arbitrary flow boundary condition (as opposed to a mesh BC). More...
#include <Boundary_condition.hpp>
Public Member Functions | |
virtual void | apply_state (Boundary_face &)=0 |
applies boundary condition to state variables (Dirichlet BCs) | |
virtual void | apply_flux (Boundary_face &)=0 |
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 ) | |
Abstract class representing an arbitrary flow boundary condition (as opposed to a mesh BC).
That is, something that computes a ghost state given an state on the boundary (inside state), a face size, and a Jacobian.
|
virtual |
applies boundary condition to linear advection equation used to compute nonsmoothness indicator
Reimplemented in hexed::Copy, hexed::No_slip, and hexed::Nonpenetration.
|
pure virtual |
applies boundary condition to viscous fluxes (if applicable)
Implemented in hexed::Cache_bc, hexed::Copy, hexed::Freestream, hexed::Function_bc, hexed::No_slip, hexed::Nonpenetration, hexed::Outflow, hexed::Pressure_outflow, and hexed::Riemann_invariants.
|
pure 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
.)
Implemented in hexed::Cache_bc, hexed::Copy, hexed::Freestream, hexed::Function_bc, hexed::No_slip, hexed::Nonpenetration, hexed::Outflow, hexed::Pressure_outflow, and hexed::Riemann_invariants.
|
inlinevirtual |
initialize Boundary_face::state_cache
at beginning of simulation (used by Cache_bc
)
Reimplemented in hexed::Cache_bc.