#include <different_bc.hpp>
Public Member Functions | |
DifferentBC (const BoundaryConditions1D &left, const BoundaryConditions1D &right) | |
Class constructor. More... | |
Extensive | operator() (const SimulationState1D &ss, const EquationOfState &eos, const RiemannSolver &rs, const vector< double > &vertex_velocity, const bool side) const |
Calculates the flux at the boundaries. More... | |
Definition at line 12 of file different_bc.hpp.
DifferentBC::DifferentBC | ( | const BoundaryConditions1D & | left, |
const BoundaryConditions1D & | right | ||
) |
Class constructor.
left | Left boundary condition |
right | Right boundary condtion |
Definition at line 4 of file different_bc.cpp.
|
virtual |
Calculates the flux at the boundaries.
ss | Computational domain and hydro cells |
eos | Equation of state |
rs | Riemann solver |
vertex_velocity | Velocity of the vertex |
side | False for left boundary, true for right boundary |
Implements BoundaryConditions1D.
Definition at line 9 of file different_bc.cpp.