CppNoddy
0.92
|
Solving the nonlinear advection diffusion equation. More...
#include <IBVP_bundle.h>
Go to the source code of this file.
Classes | |
class | CppNoddy::Example::Nlin_adv_equation |
class | CppNoddy::Example::Nlin_adv_left_BC |
class | CppNoddy::Example::Nlin_adv_right_BC |
Namespaces | |
namespace | CppNoddy |
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechanics. | |
namespace | CppNoddy::Example |
Enumerations | |
enum | { U , Ud } |
Functions | |
const double | CppNoddy::Example::eps (2.0) |
double | CppNoddy::Example::source (const double &y, const double &t) |
int | main () |
Solving the nonlinear advection diffusion equation.
subject to
for some constant parameters
against which the numerical computation is compared, by computing the maximum absolute deviation over all spatial and temporal nodes.
Definition in file IBVPNonlinearAdvDiffusion.cpp.
anonymous enum |
int main | ( | ) |
Definition at line 107 of file IBVPNonlinearAdvDiffusion.cpp.
References CppNoddy::PDE_IBVP< _Type >::coord(), CppNoddy::TrackerFile::header(), CppNoddy::TrackerFile::newline(), CppNoddy::TrackerFile::push_ptr(), CppNoddy::PDE_IBVP< _Type >::solution(), CppNoddy::PDE_IBVP< _Type >::step2(), U, Ud, CppNoddy::Utility::uniform_node_vector(), and CppNoddy::TrackerFile::update().
© 2012
R.E. Hewitt