From: Daniel Arndt Date: Sun, 14 May 2017 23:07:26 +0000 (+0200) Subject: Remove deprecated SparsityTools::reorder_Cuthill_McKee X-Git-Tag: v9.0.0-rc1~1590^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=313453e9543975249eae184f5b32c7934dd0a113;p=dealii.git Remove deprecated SparsityTools::reorder_Cuthill_McKee --- diff --git a/doc/news/changes/incompatibilities/20170515DanielArndt b/doc/news/changes/incompatibilities/20170515DanielArndt new file mode 100644 index 0000000000..2cfb000503 --- /dev/null +++ b/doc/news/changes/incompatibilities/20170515DanielArndt @@ -0,0 +1,5 @@ +Changed: The deprecated function SparsityTools::reorder_Cuthill_McKee() +acting on a SparsityPattern object has been removed. +Use the one acting on a DynamicSparsityPattern instead. +
+(Daniel Arndt, 2017/05/15) diff --git a/include/deal.II/lac/sparsity_tools.h b/include/deal.II/lac/sparsity_tools.h index 74b7c57bd2..cad55f0784 100644 --- a/include/deal.II/lac/sparsity_tools.h +++ b/include/deal.II/lac/sparsity_tools.h @@ -135,16 +135,6 @@ namespace SparsityTools std::vector &new_indices, const std::vector &starting_indices = std::vector()); - /** - * As above, but taking a SparsityPattern object instead. - * - * @deprecated - */ - void - reorder_Cuthill_McKee (const SparsityPattern &sparsity, - std::vector &new_indices, - const std::vector &starting_indices = std::vector()) DEAL_II_DEPRECATED; - /** * For a given sparsity pattern, compute a re-enumeration of row/column * indices in a hierarchical way, similar to what diff --git a/source/lac/sparsity_tools.cc b/source/lac/sparsity_tools.cc index fd152985b1..ef32909eaa 100644 --- a/source/lac/sparsity_tools.cc +++ b/source/lac/sparsity_tools.cc @@ -328,23 +328,6 @@ namespace SparsityTools - void - reorder_Cuthill_McKee (const SparsityPattern &sparsity, - std::vector &new_indices, - const std::vector &starting_indices) - { - DynamicSparsityPattern dsp(sparsity.n_rows(), sparsity.n_cols()); - for (unsigned int row=0; rowis_valid_entry() ; ++it) - dsp.add(row, it->column()); - } - reorder_Cuthill_McKee(dsp, new_indices, starting_indices); - } - - - namespace internal { void