From: wolf Date: Fri, 5 May 2000 14:49:51 +0000 (+0000) Subject: . X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f55a839458f096bdea9b363d293ed336d2cd8a7;p=dealii-svn.git . git-svn-id: https://svn.dealii.org/trunk@2802 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/lac/block_matrices.cc b/tests/lac/block_matrices.cc index 66c7f26d84..971cc45f99 100644 --- a/tests/lac/block_matrices.cc +++ b/tests/lac/block_matrices.cc @@ -37,7 +37,28 @@ int main () bsp.block(2,0).reinit (10, 10, 6); bsp.block(2,1).reinit (10, 19, 12); bsp.collect_sizes (); - + + // add this pseudo-random sparsity + // pattern: + // 0 1 1 1 1 1 1 1 1 1 1 + // 1 1 1 1 1 1 1 1 1 1 1 + // 2 1 1 1 1 1 1 1 1 1 1 + // 3 1 1 1 1 1 1 1 1 1 1 + // 4 1 1 1 1 1 1 1 1 1 1 + // 5 1 1 1 1 1 1 1 1 1 1 + // 6 1 1 1 1 1 1 1 1 1 1 + // 7 1 1 1 1 1 1 1 1 1 1 + // 8 1 1 1 1 1 1 1 1 1 1 + // 9 11 1 1 1 1 1 1 1 1 1 + // 1 1 1 1 1 1 1 1 1 1 1 + // 11 1 1 1 1 1 1 1 1 1 1 + // 12 1 11 1 1 1 1 1 1 1 1 + // 13 1 111 1 1 1 1 1 1 1 + // 14 1 11 1 1 1 1 1 1 1 1 + // 15 1 1 1 1 1 1 1 1 1 1 + // 16 1 1 1 1 1 1 1 1 1 1 + // 17 1 1 11 1 1 1 1 1 1 1 + // 18 1 1 111 1 1 1 1 1 1 for (unsigned int row=0; row<19; ++row) for (unsigned int i=0; i<10; ++i) bsp.add (row, (row*5+i*9)%29);