CppNoddy
0.92
|
Solving the 1D ‘nonlinear advection equation’. More...
#include <OneD_HYP_bundle.h>
Go to the source code of this file.
Classes | |
class | CppNoddy::Example::NlinAdv |
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 |
Functions | |
void | CppNoddy::Example::Q_init (const double &x, DenseVector< double > &q) |
Set the initial state of the system. More... | |
int | main () |
Solving the 1D ‘nonlinear advection equation’.
using a TVD Lax-Friedrichs scheme for
The test is simply conservation of
Definition in file HYPNonlinearAdvection.cpp.
int main | ( | ) |
Definition at line 72 of file HYPNonlinearAdvection.cpp.
References CppNoddy::OneD_Node_Mesh< _Type, _Xtype >::get_interpolated_vars(), CppNoddy::OneD_TVDLF_Mesh::get_soln(), CppNoddy::OneD_TVDLF_Mesh::integrate(), CppNoddy::TrackerFile::newline(), CppNoddy::TrackerFile::push_ptr(), CppNoddy::OneD_TVDLF_Mesh::set_limiter(), CppNoddy::Utility::uniform_node_vector(), CppNoddy::TrackerFile::update(), and CppNoddy::OneD_TVDLF_Mesh::update().
© 2012
R.E. Hewitt