CppNoddy
0.92
|
Define the system. More...
Public Member Functions | |
Euler_1d () | |
One dimemsional Euler problem, so 3rd order. More... | |
void | flux_fn (const double &x, const DenseVector< double > &q, DenseVector< double > &f) const |
Define the vector flux. More... | |
double | max_charac_speed (const DenseVector< double > &q) const |
Bound the shock speed. More... | |
![]() | |
OneD_Hyperbolic_System (const unsigned &order) | |
virtual | ~OneD_Hyperbolic_System () |
An empty destructor, virtual since we have virtual methods. More... | |
virtual void | flux_fn (const double &x, const DenseVector< double > &q, DenseVector< double > &f) const |
A virtual flux function. More... | |
virtual void | Jac_flux_fn (const double &x, const DenseVector< double > &q, DenseMatrix< double > &J) const |
A virtual function function to define the Jacobian of the flux function. More... | |
virtual double | max_charac_speed (const DenseVector< double > &q) const |
A virtual method that is used to bound the shock speed and must be implemented by the user. More... | |
virtual bool_vec | edge_values (const int face_index, const double &x, DenseVector< double > &q, const double &t=0.0) const |
Define the edge boundary conditions. More... | |
virtual void | source_fn (const double &x, const DenseVector< double > &q, const DenseVector< double > &slope, DenseVector< double > &r) const |
unsigned | get_order () |
Additional Inherited Members | |
![]() | |
const std::size_t | ORDER_OF_SYSTEM |
The order of the system of equations. More... | |
Define the system.
Definition at line 28 of file HYPSodsShocktube.cpp.
|
inline |
One dimemsional Euler problem, so 3rd order.
Definition at line 34 of file HYPSodsShocktube.cpp.
|
inlinevirtual |
Define the vector flux.
Reimplemented from CppNoddy::OneD_Hyperbolic_System.
Definition at line 38 of file HYPSodsShocktube.cpp.
References E, f, CppNoddy::Example::gamma(), m, p, rho, and u.
|
inlinevirtual |
Bound the shock speed.
Reimplemented from CppNoddy::OneD_Hyperbolic_System.
Definition at line 48 of file HYPSodsShocktube.cpp.
© 2012
R.E. Hewitt