From 72fb9b200738b523a9bafcc511afad9c4145ea00 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 5 May 2000 14:49:51 +0000 Subject: [PATCH] . git-svn-id: https://svn.dealii.org/trunk@2802 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/block_matrices.cc | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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); -- 2.39.5