3 % Benchmark
function for MassAssembling `P_1` functions.
8 % OptFEM2DP1 [V1.0e] - Copyright (C) 2013 CJS (LAGA)
10 % This file is part of OptFEM2DP1.
11 % OptFEM2DP1 is free software: you can redistribute it and/or modify
12 % it under the terms of the GNU General Public License as published by
13 % the Free Software Foundation, either version 3 of the License, or
14 % (at your option) any later version.
16 % OptFEM2DP1 is distributed in the hope that it will be useful,
17 % but WITHOUT ANY WARRANTY; without even the implied warranty of
18 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 % GNU General Public License
for more details.
21 % You should have received a copy of the GNU General Public License
22 % along with
this program. If
not, see <http:
27 fprintf(
'---------------------------------------------------------\n')
28 fprintf('BENCH (Mass Matrix Assembling) %d\n',k)
29 fprintf(' Vertices number : %d - Triangles number : %d\n',Th.nq,Th.nme)
30 fprintf(' Matrix size : %d\n',Th.nq)
34 fprintf(' CPU times base (ref) : %3.4f (s)\n',T(1))
38 fprintf(' CPU times OptV0 : %3.4f (s) - Speed Up X%3.3f\n',T(2),T(1)/T(2))
42 fprintf(' CPU times OptV1 : %3.4f (s) - Speed Up X%3.3f\n',T(3),T(1)/T(3))
46 fprintf(' CPU times OptV2 : %3.4f (s) - Speed Up X%3.3f\n',T(4),T(1)/T(4))