From b2553a74b88404b86e1b0598bf08878cd1a93e25 Mon Sep 17 00:00:00 2001 From: treecity Date: Fri, 2 Mar 2012 23:06:47 +0000 Subject: [PATCH] [src] test_sol skript Angepasst git-svn-id: https://drops.fb12.tu-berlin.de/svn/bacc/trunk@94 26120e32-c555-405d-b3e1-1f783fb42516 --- src/A_plots.m | 4 ++-- src/mark.m | 2 +- src/test_sol.m | 20 ++++++++++++++++++-- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/A_plots.m b/src/A_plots.m index c77e4c5..0fbf3d8 100644 --- a/src/A_plots.m +++ b/src/A_plots.m @@ -56,12 +56,12 @@ end if step<1 disp ('Error: No Data to show.') else - format longG + data((end-8):end,[1 3 4]) sol = interp1(1./X((1):(end-2),3)',G_D((1):(end-2),3)',0,'spline') % sol = 8.28466; - format short + figure(4) loglog(X(:,[2+(0:step-1)*3]),G_D(:,[2+(0:step-1)*3]),'--o') hold on diff --git a/src/mark.m b/src/mark.m index 61f5290..458ee49 100644 --- a/src/mark.m +++ b/src/mark.m @@ -18,7 +18,7 @@ t3 =0; t4 = 0; Ct = T4*xF2S; -%% Muss ueberhaupt verfeinert werden +%% Muss ueberhaupt verfeinert werden (welche sollen nicht verfeinert werden) if(theta <1) [s_ind idx] = sort(ind,'descend'); diff --git a/src/test_sol.m b/src/test_sol.m index 57ba42e..e723c42 100644 --- a/src/test_sol.m +++ b/src/test_sol.m @@ -1,3 +1,19 @@ + +format longG + +% Matrix MEX Funktion neu Compilieren mex mex_build_AU.cpp slpRectangle.cpp -A_run('exmpl_2DQuad.mat',10,[0.7],[1 2 3],0.9,0,'AdaptIso_'); -A_run('exmpl_2DQuad.mat',10,[0.7],[1 2 3],0.9,0.7,'AdaptAnIso_'); \ No newline at end of file + +% Test ausführen + +%LShape adaptiv anisotrop +A_run('exmpl_2DLShape', 10, 0, 1, 0.5, 0.5, 'testAA') + +%LShape adaptiv isotrop +% A_run('exmpl_2DLShape', 10, 0, 0.5, 0, 0, 'testAI') + +%LShape uniform anisotrop +% A_run('exmpl_2DLShape', 10, 0, 1, 0.5, 0, 'testUA') + +%LShape uniform isotrop +% A_run('exmpl_2DLShape', 10, 0, 1, 0, 0, 'testUI') \ No newline at end of file -- 2.47.3