Skip to content

Commit eb15744

Browse files
committed
Added details of command line execution.
1 parent dd9879f commit eb15744

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
5050
outside 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+
5265
The following tests are provided:
5366

54-
### `{full,sparse}_matrix_01.cc`
67+
**`{full,sparse}_matrix_01.cc`**
5568

5669
Compute `M*v`
5770

58-
### `{full,sparse}_matrix_02.cc`
71+
**`{full,sparse}_matrix_02.cc`**
5972

6073
Compute `M*M*M*v`
6174

62-
### `{full,sparse}_matrix_03.cc`
75+
**`{full,sparse}_matrix_03.cc`**
6376

6477
Compute `(3*Id+M)*M*v`
6578

66-
### `{full,sparse}_matrix_04.cc`
79+
**`{full,sparse}_matrix_04.cc`**
6780

6881
Compute `M*(x+y+z)`
6982

70-
### step_32.cc
83+
**`step_32.cc`**
7184

7285
Compute a preconditioner for Stokes system, using a low level `deal.II` implementation,
7386
or using a `LinearOperator` variant.

0 commit comments

Comments
 (0)