@@ -49,25 +49,38 @@ in `dealii`, `eigen`, or `blaze`, and two variants involving `LinearOperator` an
4949` PackagedOperation ` objects in each loop, while the second makes one construction
5050outside the loop, and only uses the objects that have been previously constructed.
5151
52+ Each benchmark requires two arguments at commandline: a matrix size (for the dense
53+ matrix case) or a refinement level (for the sparse matrix cases) and a number of
54+ repetitions for the test. For example
55+
56+ ./full_matrix_01 100 1000
57+
58+ performs the test ` full_matrix_01 ` on 100x100 matrices for 1000 repetitions, while
59+
60+ ./sparse_matrix_01 3 100
61+
62+ performs the test ` sparse_matrix_01 ` on a grid of 3 by 3 cells, assemblying the
63+ stiffness matrix of a Poisson problem, and performs the test 100 times.
64+
5265The following tests are provided:
5366
54- ### ` {full,sparse}_matrix_01.cc `
67+ ** ` {full,sparse}_matrix_01.cc ` **
5568
5669Compute ` M*v `
5770
58- ### ` {full,sparse}_matrix_02.cc `
71+ ** ` {full,sparse}_matrix_02.cc ` **
5972
6073Compute ` M*M*M*v `
6174
62- ### ` {full,sparse}_matrix_03.cc `
75+ ** ` {full,sparse}_matrix_03.cc ` **
6376
6477Compute ` (3*Id+M)*M*v `
6578
66- ### ` {full,sparse}_matrix_04.cc `
79+ ** ` {full,sparse}_matrix_04.cc ` **
6780
6881Compute ` M*(x+y+z) `
6982
70- ### step_32.cc
83+ ** ` step_32.cc ` **
7184
7285Compute a preconditioner for Stokes system, using a low level ` deal.II ` implementation,
7386or using a ` LinearOperator ` variant.
0 commit comments