]> https://gitweb.dealii.org/ - dealii.git/commit
Remove repeated tests. 2313/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 6 Mar 2016 21:27:41 +0000 (16:27 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 6 Mar 2016 21:27:41 +0000 (16:27 -0500)
commit7ec42da73d72f0cff4eb67d315e1bebe68586ab6
tree4dd0d1ff6c9e1a5c48458b46fe1ed572a7195387
parent6606d5deaa94a339ee38f1927a15058acd87d714
Remove repeated tests.

Since CompressedSparsityPattern and CompressedSetSparsityPattern are now
just typedefs for DynamicSparsityPattern, the only difference between
these (deleted) tests and the versions without '_x's in their names is
a small change in how we loop across the sparsity pattern: the diff
between the version with the '_x' and the version without was always, up
to different classes for the sparsity pattern, either

<       for (CompressedSetSparsityPattern::iterator
<            c = sp.begin(line); c!=sp.end(line); ++c)
<         deallog << c->column() << " ";
---
>       for (unsigned int c=0; c<sp.row_length(line); ++c)
>         deallog << sp.column_number(line,c) << " ";

or

<           for (CompressedSetSparsityPattern::iterator
<                c = sp.block(block_row.first,col).begin(block_row.second);
<                c!=sp.block(block_row.first,col).end(block_row.second); ++c)
<             deallog << c->column()
---
>           for (unsigned int c=0;
>                c<sp.block(block_row.first,col).row_length(block_row.second);
>                ++c)
>             deallog << sp.block(block_row.first,col).column_number(block_row.second,c)

and the outputs were identical.
24 files changed:
tests/bits/dof_tools_01b_x.cc [deleted file]
tests/bits/dof_tools_01b_x.output [deleted file]
tests/bits/dof_tools_01d_x.cc [deleted file]
tests/bits/dof_tools_01d_x.output [deleted file]
tests/bits/dof_tools_02b_x.cc [deleted file]
tests/bits/dof_tools_02b_x.output [deleted file]
tests/bits/dof_tools_02d_x.cc [deleted file]
tests/bits/dof_tools_02d_x.output [deleted file]
tests/bits/dof_tools_15b_x.cc [deleted file]
tests/bits/dof_tools_15b_x.output [deleted file]
tests/bits/dof_tools_15d_x.cc [deleted file]
tests/bits/dof_tools_15d_x.output [deleted file]
tests/bits/dof_tools_16b_x.cc [deleted file]
tests/bits/dof_tools_16b_x.output [deleted file]
tests/bits/dof_tools_16d_x.cc [deleted file]
tests/bits/dof_tools_16d_x.output [deleted file]
tests/bits/dof_tools_17b_x.cc [deleted file]
tests/bits/dof_tools_17b_x.output [deleted file]
tests/bits/dof_tools_17d_x.cc [deleted file]
tests/bits/dof_tools_17d_x.output [deleted file]
tests/bits/dof_tools_18b_x.cc [deleted file]
tests/bits/dof_tools_18b_x.output [deleted file]
tests/bits/dof_tools_18d_x.cc [deleted file]
tests/bits/dof_tools_18d_x.output [deleted file]

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.