Public Member Functions | List of all members
DifferentBC Class Reference

different_bc.hpp More...

#include <different_bc.hpp>

Inheritance diagram for DifferentBC:
Inheritance graph
[legend]
Collaboration diagram for DifferentBC:
Collaboration graph
[legend]

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...
 

Detailed Description

different_bc.hpp

Author
Almog Yalinewich A class to combine two different boundary conditionsA combination of two different boundary conditions

Definition at line 12 of file different_bc.hpp.

Constructor & Destructor Documentation

◆ DifferentBC()

DifferentBC::DifferentBC ( const BoundaryConditions1D left,
const BoundaryConditions1D right 
)

Class constructor.

Parameters
leftLeft boundary condition
rightRight boundary condtion

Definition at line 4 of file different_bc.cpp.

Member Function Documentation

◆ operator()()

Extensive DifferentBC::operator() ( const SimulationState1D ss,
const EquationOfState eos,
const RiemannSolver rs,
const vector< double > &  vertex_velocity,
const bool  side 
) const
virtual

Calculates the flux at the boundaries.

Parameters
ssComputational domain and hydro cells
eosEquation of state
rsRiemann solver
vertex_velocityVelocity of the vertex
sideFalse for left boundary, true for right boundary
Returns
Flux at the boundary

Implements BoundaryConditions1D.

Definition at line 9 of file different_bc.cpp.


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