CppNoddy
0.92
|
Solve the shallow water equations in one dimension for an initial column of fluid. More...
#include <OneD_HYP_bundle.h>
Go to the source code of this file.
Classes | |
class | CppNoddy::Example::Shallow_1d_rad |
Define the system. More... | |
Namespaces | |
namespace | CppNoddy |
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechanics. | |
namespace | CppNoddy::Example |
Enumerations | |
enum | { h , hu } |
Functions | |
double | CppNoddy::Example::g (1.0) |
gravitational acceleration More... | |
double | CppNoddy::Example::A (1.0) |
initial hump amplitude More... | |
void | CppNoddy::Example::Q_init (const double &x, DenseVector< double > &q) |
Set the initial state of the system. More... | |
int | main () |
Solve the shallow water equations in one dimension for an initial column of fluid.
The result is compared to the same problem solved using Clawpack, evaluated at the single point x=0.5.
Definition in file HYPRadialDamBreak.cpp.
anonymous enum |
Enumerator | |
---|---|
h | |
hu |
Definition at line 13 of file HYPRadialDamBreak.cpp.
int main | ( | ) |
Definition at line 75 of file HYPRadialDamBreak.cpp.
References CppNoddy::OneD_Node_Mesh< _Type, _Xtype >::get_interpolated_vars(), CppNoddy::OneD_TVDLF_Mesh::get_soln(), h, CppNoddy::Utility::power_node_vector(), CppNoddy::TrackerFile::push_ptr(), CppNoddy::TrackerFile::set_filename(), CppNoddy::OneD_TVDLF_Mesh::set_limiter(), CppNoddy::Utility::stringify(), CppNoddy::TrackerFile::update(), and CppNoddy::OneD_TVDLF_Mesh::update().
© 2012
R.E. Hewitt