|
rbmatlab 0.10.01
|
u_t + b*Du + cu = 0, u(x,0) = u0. u0 is 1 inside a box and 0 otherwise. This box gets transported in direction b with a slowing term c. returns 1, if error to exact solution is "small enough". returns 0 otherwise More...
Go to the source code of this file.
Functions | |
| function OK = | test_linear_convection () |
| u_t + b*Du + cu = 0, u(x,0) = u0. u0 is 1 inside a box and 0 otherwise. This box gets transported in direction b with a slowing term c. returns 1, if error to exact solution is "small enough". returns 0 otherwise | |
u_t + b*Du + cu = 0, u(x,0) = u0. u0 is 1 inside a box and 0 otherwise. This box gets transported in direction b with a slowing term c. returns 1, if error to exact solution is "small enough". returns 0 otherwise
Definition in file test_linear_convection.m.
| function OK = test_linear_convection | ( | ) |
u_t + b*Du + cu = 0, u(x,0) = u0. u0 is 1 inside a box and 0 otherwise. This box gets transported in direction b with a slowing term c. returns 1, if error to exact solution is "small enough". returns 0 otherwise
| OK | boolean indicating wether test was successful |
Definition at line 1 of file test_linear_convection.m.
1.7.4