From 20d56ac815f7678ceab122d002aa370686f89bc1 Mon Sep 17 00:00:00 2001 From: treecity Date: Fri, 2 Mar 2012 23:24:47 +0000 Subject: [PATCH] [src] test_sol skript Angepasst git-svn-id: https://drops.fb12.tu-berlin.de/svn/bacc/trunk@95 26120e32-c555-405d-b3e1-1f783fb42516 --- src/mex_build_AU.cpp | 2 +- src/test_sol.m | 23 +++++++++++++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/mex_build_AU.cpp b/src/mex_build_AU.cpp index 2648cd0..ba856cd 100644 --- a/src/mex_build_AU.cpp +++ b/src/mex_build_AU.cpp @@ -62,7 +62,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { int cn = mxGetN(prhs[0]); if (cn != 3) mexErrMsgTxt("expected coordinates (Nx3)"); - cout << " Coordinaten:" << cm << endl; + cout << " Koordinaten:" << cm << endl; int em = mxGetM(prhs[1]); int en = mxGetN(prhs[1]); diff --git a/src/test_sol.m b/src/test_sol.m index e723c42..b9bdfdb 100644 --- a/src/test_sol.m +++ b/src/test_sol.m @@ -6,14 +6,29 @@ mex mex_build_AU.cpp slpRectangle.cpp % Test ausführen +%Anzahl der Schritte +steps = 11; + %LShape adaptiv anisotrop -A_run('exmpl_2DLShape', 10, 0, 1, 0.5, 0.5, 'testAA') +A_run('exmpl_2DLShape', steps, 0, 1, 0.5, 0.5, 'testAA') %LShape adaptiv isotrop -% A_run('exmpl_2DLShape', 10, 0, 0.5, 0, 0, 'testAI') +% A_run('exmpl_2DLShape', steps, 0, 0.5, 0, 0, 'testAI') %LShape uniform anisotrop -% A_run('exmpl_2DLShape', 10, 0, 1, 0.5, 0, 'testUA') +% A_run('exmpl_2DLShape', steps, 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 +% A_run('exmpl_2DLShape', steps, 0, 1, 0, 0, 'testUI') + + +%Ausgabe: +% data = AnzElement Typ Schätzer Energienorm^2 + +%meshSave Dateien +% test* - enthält die Ergebnisse (wie Ausgabe) sowie das aktuelle Netz +% _test* - enthält zwischenMatrizen und alle Netze & co (siehe A_step) + + +%Ergebnis Plotten und Teil der Daten ausgeben sowie abspeichern der figure +A_plots({['meshSave/testAA_1_' num2str(steps)]},'figure') -- 2.47.3