![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
Physical boundary condition (computational domain) based on characteristic equation ... More...
#include <dbpp_PhysicalBoundaryCnd.h>
Public Member Functions | |
PhysicalBoundaryCnd () | |
Default constructor. | |
PhysicalBoundaryCnd (PhysicalSystem *aPhySys) | |
reference on physical system | |
PhysicalBoundaryCnd (PhyBCNdlConstraint aLeftBC, PhyBCNdlConstraint aRightBC) | |
PhyBCNdlConstraint | getLeftEnd () const |
Left boundary. | |
PhyBCNdlConstraint | getRightEnd () const |
Right boundary. | |
void | update () |
Update constraint values at both end. | |
PhysicalSystem * | getPhysicalSystem () const noexcept |
Physical system. | |
virtual void | setLeftBC (const std::tuple< unsigned, float64, float64, float64 > &aLeftPhyBnd) |
Set left constraint. | |
virtual void | setRightBC (std::tuple< unsigned, float64, float64, float64 > aRightPhyBnd) |
Set right constraint. |
Private Attributes | |
PhysicalSystem * | m_phsys |
PhyBCNdlConstraint | m_leftEnd |
PhyBCNdlConstraint | m_rightEnd |
Physical boundary condition (computational domain) based on characteristic equation ...
|
inline |
Default constructor.
dbpp::PhysicalBoundaryCnd::PhysicalBoundaryCnd | ( | PhysicalSystem * | aPhySys | ) |
reference on physical system
aPhySys | physical system |
dbpp::PhysicalBoundaryCnd::PhysicalBoundaryCnd | ( | PhyBCNdlConstraint | aLeftBC, |
PhyBCNdlConstraint | aRightBC ) |
aLeftBC | |
aRightBC |
|
inline |
Left boundary.
|
inlinenoexcept |
Physical system.
|
inline |
Right boundary.
|
inlinevirtual |
Set left constraint.
aLeftPhyBnd | left boundary values |
|
inlinevirtual |
Set right constraint.
aRightPhyBnd | right boundary values |
void dbpp::PhysicalBoundaryCnd::update | ( | ) |
Update constraint values at both end.
|
private |
left constraint
|
private |
physical system
|
private |
right constraint