hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Flow_bc Class Referenceabstract

Abstract class representing an arbitrary flow boundary condition (as opposed to a mesh BC). More...

#include <Boundary_condition.hpp>

Inheritance diagram for hexed::Flow_bc:
hexed::Cache_bc hexed::Copy hexed::Freestream hexed::Function_bc hexed::No_slip hexed::Nonpenetration hexed::Outflow hexed::Pressure_outflow hexed::Riemann_invariants

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)
 

Detailed Description

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.

Member Function Documentation

◆ apply_advection()

void hexed::Flow_bc::apply_advection ( Boundary_face & bf)
virtual

applies boundary condition to linear advection equation used to compute nonsmoothness indicator

Reimplemented in hexed::Copy, hexed::No_slip, and hexed::Nonpenetration.

◆ apply_flux()

virtual void hexed::Flow_bc::apply_flux ( Boundary_face & )
pure virtual

◆ apply_state()

virtual void hexed::Flow_bc::apply_state ( Boundary_face & )
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.

◆ init_cache()

virtual void hexed::Flow_bc::init_cache ( Boundary_face & )
inlinevirtual

initialize Boundary_face::state_cache at beginning of simulation (used by Cache_bc)

Reimplemented in hexed::Cache_bc.


The documentation for this class was generated from the following files: