From 4b768b7206e985627228350ce233ba096aad6eb6 Mon Sep 17 00:00:00 2001 From: jofret Date: Thu, 2 Sep 2010 07:40:12 +0000 Subject: Clean Moebius test --- tests/unit_tests/test305_Moebius/Moebius.sci | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit_tests/test305_Moebius/Moebius.sci b/tests/unit_tests/test305_Moebius/Moebius.sci index 4e79667b..cb598c0a 100644 --- a/tests/unit_tests/test305_Moebius/Moebius.sci +++ b/tests/unit_tests/test305_Moebius/Moebius.sci @@ -1,8 +1,8 @@ //SCI2C: DEFAULT_PRECISION= DOUBLE -function mainfunction() +function Moebius() -//the program construct moebius +//the program construct moebius // and klein bottle surface from //http://www.metlin.org/mathematics/ // topological-constructs/non-orientable-surfaces/ @@ -43,7 +43,7 @@ num_points = 50; //u = linspace (0, 2*(%pi), num_points); //v = linspace (0, 2*(%pi), num_points); -step_u = (2*%pi)./num_points +step_u = (2*%pi)./num_points u = 0:step_u:2*%pi; v = u; @@ -61,6 +61,6 @@ disp('z1(1:10)') disp(z1(1:10)) // ENABLE/DISABLE PLOT // scf(1) ;surf(x1, y1, z1) - + endfunction -- cgit