Timer assemble_timer;
assemble_system1 ();
- deallog << "Time of assemble_system1: "
- << assemble_timer()
- << std::endl;
solve (solution1);
system_matrix = 0;
assemble_timer.start();
assemble_system2 ();
- deallog << "Time of assemble_system2: "
- << assemble_timer()
- << std::endl;
solve (solution2);
solution1-=solution2;
DEAL::Cycle 0:
DEAL:: Number of active cells: 64
DEAL:: Number of degrees of freedom: 256
-DEAL::Time of assemble_system1: 0.040
-DEAL::Time of assemble_system2: 0.036
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-0.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 1:
DEAL:: Number of active cells: 112
DEAL:: Number of degrees of freedom: 448
-DEAL::Time of assemble_system1: 0.072
-DEAL::Time of assemble_system2: 0.060
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-1.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 2:
DEAL:: Number of active cells: 214
DEAL:: Number of degrees of freedom: 856
-DEAL::Time of assemble_system1: 0.14
-DEAL::Time of assemble_system2: 0.12
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-2.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 3:
DEAL:: Number of active cells: 415
DEAL:: Number of degrees of freedom: 1660
-DEAL::Time of assemble_system1: 0.26
-DEAL::Time of assemble_system2: 0.22
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-3.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 4:
DEAL:: Number of active cells: 796
DEAL:: Number of degrees of freedom: 3184
-DEAL::Time of assemble_system1: 0.51
-DEAL::Time of assemble_system2: 0.44
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-4.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 5:
DEAL:: Number of active cells: 1561
DEAL:: Number of degrees of freedom: 6244
-DEAL::Time of assemble_system1: 1.0
-DEAL::Time of assemble_system2: 0.86
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-5.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 0:
DEAL:: Number of active cells: 64
DEAL:: Number of degrees of freedom: 256
-DEAL::Time of assemble_system1: 0.044
-DEAL::Time of assemble_system2: 0.036
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-0.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 1:
DEAL:: Number of active cells: 112
DEAL:: Number of degrees of freedom: 448
-DEAL::Time of assemble_system1: 0.072
-DEAL::Time of assemble_system2: 0.060
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-1.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 2:
DEAL:: Number of active cells: 214
DEAL:: Number of degrees of freedom: 856
-DEAL::Time of assemble_system1: 0.14
-DEAL::Time of assemble_system2: 0.12
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-2.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 3:
DEAL:: Number of active cells: 415
DEAL:: Number of degrees of freedom: 1660
-DEAL::Time of assemble_system1: 0.27
-DEAL::Time of assemble_system2: 0.23
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-3.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 4:
DEAL:: Number of active cells: 796
DEAL:: Number of degrees of freedom: 3184
-DEAL::Time of assemble_system1: 0.52
-DEAL::Time of assemble_system2: 0.44
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-4.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 5:
DEAL:: Number of active cells: 1561
DEAL:: Number of degrees of freedom: 6244
-DEAL::Time of assemble_system1: 1.0
-DEAL::Time of assemble_system2: 0.86
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-5.eps>...
%!PS-Adobe-2.0 EPSF-1.2
Timer assemble_timer;
assemble_system1 ();
- deallog << "Time of assemble_system1: "
- << assemble_timer()
- << std::endl;
solve (solution1);
system_matrix = 0;
assemble_timer.start();
assemble_system2 ();
- deallog << "Time of assemble_system2: "
- << assemble_timer()
- << std::endl;
solve (solution2);
solution1-=solution2;
DEAL::Cycle 0:
DEAL:: Number of active cells: 64
DEAL:: Number of degrees of freedom: 256
-DEAL::Time of assemble_system1: 0.040
-DEAL::Time of assemble_system2: 0.036
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-0.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 1:
DEAL:: Number of active cells: 112
DEAL:: Number of degrees of freedom: 448
-DEAL::Time of assemble_system1: 0.072
-DEAL::Time of assemble_system2: 0.060
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-1.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 2:
DEAL:: Number of active cells: 214
DEAL:: Number of degrees of freedom: 856
-DEAL::Time of assemble_system1: 0.14
-DEAL::Time of assemble_system2: 0.12
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-2.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 3:
DEAL:: Number of active cells: 415
DEAL:: Number of degrees of freedom: 1660
-DEAL::Time of assemble_system1: 0.26
-DEAL::Time of assemble_system2: 0.22
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-3.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 4:
DEAL:: Number of active cells: 796
DEAL:: Number of degrees of freedom: 3184
-DEAL::Time of assemble_system1: 0.51
-DEAL::Time of assemble_system2: 0.44
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-4.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 5:
DEAL:: Number of active cells: 1561
DEAL:: Number of degrees of freedom: 6244
-DEAL::Time of assemble_system1: 1.0
-DEAL::Time of assemble_system2: 0.86
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-5.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 0:
DEAL:: Number of active cells: 64
DEAL:: Number of degrees of freedom: 256
-DEAL::Time of assemble_system1: 0.044
-DEAL::Time of assemble_system2: 0.036
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-0.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 1:
DEAL:: Number of active cells: 112
DEAL:: Number of degrees of freedom: 448
-DEAL::Time of assemble_system1: 0.072
-DEAL::Time of assemble_system2: 0.060
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-1.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 2:
DEAL:: Number of active cells: 214
DEAL:: Number of degrees of freedom: 856
-DEAL::Time of assemble_system1: 0.14
-DEAL::Time of assemble_system2: 0.12
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-2.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 3:
DEAL:: Number of active cells: 415
DEAL:: Number of degrees of freedom: 1660
-DEAL::Time of assemble_system1: 0.27
-DEAL::Time of assemble_system2: 0.23
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-3.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 4:
DEAL:: Number of active cells: 796
DEAL:: Number of degrees of freedom: 3184
-DEAL::Time of assemble_system1: 0.52
-DEAL::Time of assemble_system2: 0.44
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-4.eps>...
%!PS-Adobe-2.0 EPSF-1.2
DEAL::Cycle 5:
DEAL:: Number of active cells: 1561
DEAL:: Number of degrees of freedom: 6244
-DEAL::Time of assemble_system1: 1.0
-DEAL::Time of assemble_system2: 0.86
DEAL::solution1 and solution2 coincide.
DEAL::Writing grid to <grid-5.eps>...
%!PS-Adobe-2.0 EPSF-1.2