From: Peter Schaefer Date: Thu, 2 Aug 2012 10:30:08 +0000 (+0200) Subject: unnötige Daten entfertn X-Git-Url: https://git.leopard-lacewing.eu/?a=commitdiff_plain;h=15259ac93ff63f762253a6c0d7a6d17e3f1987e6;p=bacc.git unnötige Daten entfertn [src] Transperenz im PlotShape [src] getDim -> inline --- diff --git a/src/meshSave/testAA_13_22.mat b/src/meshSave/testAA_13_22.mat deleted file mode 100644 index 2386d89..0000000 Binary files a/src/meshSave/testAA_13_22.mat and /dev/null differ diff --git a/src/meshSave/testAA_13_27.mat b/src/meshSave/testAA_13_27.mat deleted file mode 100644 index 072cbc5..0000000 Binary files a/src/meshSave/testAA_13_27.mat and /dev/null differ diff --git a/src/meshSave/testAI_1_16.mat b/src/meshSave/testAI_1_16.mat deleted file mode 100644 index 7574a7e..0000000 Binary files a/src/meshSave/testAI_1_16.mat and /dev/null differ diff --git a/src/mex_build_V.cpp b/src/mex_build_V.cpp index bc30fc3..5605095 100644 --- a/src/mex_build_V.cpp +++ b/src/mex_build_V.cpp @@ -39,7 +39,7 @@ //using namespace std; //using namespace slpR; */ -int dimOfVec(double* vec) { +int inline dimOfVec(double* vec) { if (vec[2] != 0) return 2; else if (vec[1] != 0) diff --git a/src/plotShape.m b/src/plotShape.m index d2f0d56..7fb650f 100644 --- a/src/plotShape.m +++ b/src/plotShape.m @@ -86,7 +86,7 @@ if(e==1) for idx = eles current = coordinates(elements(idx,[1:4,1])',:); % current(3,:) = current(3,:)-current(1,:)+current(2,:); - fill3(current(:,1),current(:,2),current(:,3),'b'); % Zeichnet Oberflaeche + fill3(current(:,1),current(:,2),current(:,3),[0,200,100]/255); % Zeichnet Oberflaeche hold on end elseif(e==2) @@ -103,11 +103,13 @@ else for idx = eles current = coordinates(elements(idx,[1:4,1])',:); % current(3,:) = current(3,:)-current(1,:)+current(2,:); - plot3(current(:,1),current(:,2),current(:,3),'b'); % Zeichnet nur Kanten + plot3(current(:,1),current(:,2),current(:,3),'color',[0,100,100]/255); % Zeichnet nur Kanten hold on end end +alpha(0.3) + %% Zusatz if(n) if(n==2) @@ -129,7 +131,7 @@ if(t) for idx = eles current = sum(coordinates(elements(idx,[2,4])',:),1)/2; if(e) - cola = 'w'; + cola = 'bla'; else cola = 'bla'; end @@ -146,7 +148,7 @@ if(t>=2) for idx = coos current = coordinates(idx,:); if(e) - cola = 'w'; + cola = 'r'; else cola = 'r'; end @@ -186,6 +188,8 @@ xlabel 'x' ylabel 'y' zlabel 'z' + + hold off end diff --git a/src/test_sol.m b/src/test_sol.m index 4e8fa37..1931c4b 100644 --- a/src/test_sol.m +++ b/src/test_sol.m @@ -13,17 +13,17 @@ steps = 30; type = [1]; %LShape adaptiv anisotrop -% compute('exmpl_2DQuad', steps, 0.7, type, 0.5, 0.5, 0, 'testAA_') -% compute('exmpl_2DQuad', steps, 0.7, type, 0.5, 0.5, 1, 'testAAvcon_') +% compute('exmpl_2DQuad', steps, 0.7, type, 0.5, 0.5, 0, 'tsAA_') +% compute('exmpl_2DQuad', steps, 0.7, type, 0.5, 0.5, 1, 'tsAAvcon_') % %LShape adaptiv isotrop -compute('exmpl_2DQuad', steps, 0,type, 0.5, 0, 0, 'testAI_') +compute('exmpl_2DQuad', steps, 0,type, 0.5, 0, 0, 'tAI_') % % %LShape uniform anisotrop -% % compute('exmpl_2DLShape', steps, 0, type, 1, 0.5, 0, 'testUA_') +% % compute('exmpl_2DLShape', steps, 0, type, 1, 0.5, 0, 'tsUA_') % % %LShape uniform isotrop -% % compute('exmpl_2DLShape', steps, 0, type, 1, 0, 0, 'testUI_') +% % compute('exmpl_2DLShape', steps, 0, type, 1, 0, 0, 'tsUI_') % % % %Ausgabe: