Mercurial > hg > kwantix
changeset 45:330d2813788b
Make main.cpp a symlink to the actual problem being solved
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Wed, 17 Mar 2010 09:10:00 -0600 |
parents | 4134a0f2423d |
children | 1ff029128e08 |
files | src/main-new-linear-wave-eq.cpp src/main-sw-rk4.cpp src/main.cpp |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
rename from src/main.cpp rename to src/main-new-linear-wave-eq.cpp --- a/src/main.cpp +++ b/src/main-new-linear-wave-eq.cpp @@ -73,9 +73,9 @@ u.precompute_ev(); interpolator<RBF_TYPE> u0 = u, u1 = u; - u = 5*u; + u = 3*u; - vtkplot plotter(u,-0.1, 0.1); + vtkplot plotter(u,-0.1, 0.1, true); plotter.set_view_direction(0,1,1); plotter.begin_interaction();
--- a/src/main-sw-rk4.cpp +++ b/src/main-sw-rk4.cpp @@ -351,7 +351,7 @@ template<typename RBF> void set_bdry_conds(interpolator<RBF> & u, interpolator<RBF> & v) { - kwantix::bdry_values u_bdry(u.at()), v_bdry(v.at()); + kwantix::bdry_values &u_bdry(u.at()), &v_bdry(v.at()); kwantix::normals N=u.get_normals(), M=v.get_normals(); if(N != M){ failure exc;