/FiniteElasticity/CylinderInflation/expected_results/scaling/scaleplot.m
Objective C | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | 7e997f953948e026cf4dfa1bee824d4e MD5 | raw file
1%% scaling 2 3 4% Generated on a single proc, 8-core shared memory machine 5% using direct solver (MUMPS) 6p=[1 2 4 8]; 7t1=[426.474 250.853 146.534 92.884]; 8t2=[13*60+2.66 7*60+24.76 4*60+5.886 2*60+19.3]; 9t3=[26*60+32.3 14*60+44.899 8*60+30.869 4*60+44.726]; 10ratio1=t1(1)./t1; 11ratio2=t2(1)./t2; 12ratio3=t3(1)./t3; 13plot(p,ratio1,'.-',p,ratio2,'rx-',p,ratio3,'kd-'); 14legend('DOF=6144','DOF=12288','DOF=19968','location','northwest'); 15xlabel('number of processors'); 16ylabel('speedup');