CppNoddy
0.92
|
Two dimensional shallow water equations over topography. More...
#include <TwoD_HYP_bundle.h>
Go to the source code of this file.
Classes | |
class | CppNoddy::Example::Shallow_2d_source |
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 , hv } |
Functions | |
double | CppNoddy::Example::g (9.81) |
gravitational acceleration More... | |
double | CppNoddy::Example::A (0.2) |
hump amplitude More... | |
double | CppNoddy::Example::z (const double &x, const double &y) |
Topography shape. More... | |
void | CppNoddy::Example::Q_init (const double &x, const double &y, DenseVector< double > &q) |
Set the initial state of the system. More... | |
int | main () |
Two dimensional shallow water equations over topography.
In this case, although the computation is 2D the topography is independent of the transverse coordinate and the result is checked against the 1D code.
Definition in file HYP2DShallowSource.cpp.
anonymous enum |
int main | ( | ) |
Definition at line 135 of file HYP2DShallowSource.cpp.
References CppNoddy::TwoD_TVDLF_Mesh::dump_gnu(), E, CppNoddy::TwoD_TVDLF_Mesh::get_point_values(), CppNoddy::TwoD_TVDLF_Mesh::get_time(), CppNoddy::Utility::power_node_vector(), CppNoddy::TwoD_TVDLF_Mesh::set_limiter(), CppNoddy::Utility::stringify(), and CppNoddy::TwoD_TVDLF_Mesh::update().
© 2012
R.E. Hewitt