CppNoddy
0.92
|
Define the system. More...
Public Member Functions | |
Acoustic_1d_ref () | |
One dimemsional constant coefft acoustic problem. 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... | |
std::vector< bool > | edge_values (const int face_index, const double &x, DenseVector< double > &q, const double &t) const |
edge conditions 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 25 of file HYPAcousticReflection.cpp.
|
inline |
One dimemsional constant coefft acoustic problem.
Definition at line 31 of file HYPAcousticReflection.cpp.
|
inlinevirtual |
edge conditions
Reimplemented from CppNoddy::OneD_Hyperbolic_System.
Definition at line 51 of file HYPAcousticReflection.cpp.
References CppNoddy::DenseVector< _Type >::size(), and u.
|
inlinevirtual |
Define the vector flux.
Reimplemented from CppNoddy::OneD_Hyperbolic_System.
Definition at line 35 of file HYPAcousticReflection.cpp.
References f, CppNoddy::Example::K(), p, rho, and u.
|
inlinevirtual |
Bound the shock speed.
Reimplemented from CppNoddy::OneD_Hyperbolic_System.
Definition at line 42 of file HYPAcousticReflection.cpp.
References CppNoddy::Example::K(), and rho.
© 2012
R.E. Hewitt