From 9037a0df775088fcb3ca96a1a5070191bc6b9d10 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 20 Apr 1999 11:58:36 +0000 Subject: [PATCH] Rename the DoFRenumbering::renumber_* functions to DoFRenumbering::* git-svn-id: https://svn.dealii.org/trunk@1191 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/Attic/examples/dof/dof_test.cc | 2 +- .../include/numerics/dof_renumbering.h | 16 +++++----- .../deal.II/source/dofs/dof_renumbering.cc | 32 +++++++++---------- tests/big-tests/dof/dof_test.cc | 2 +- tests/deal.II/dof_test.cc | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/deal.II/deal.II/Attic/examples/dof/dof_test.cc b/deal.II/deal.II/Attic/examples/dof/dof_test.cc index 8ca5178abf..d9ee2ee997 100644 --- a/deal.II/deal.II/Attic/examples/dof/dof_test.cc +++ b/deal.II/deal.II/Attic/examples/dof/dof_test.cc @@ -354,7 +354,7 @@ void TestCases::run (ParameterHandler &prm) { dof->distribute_dofs (fe); cout << " Renumbering degrees of freedom..." << endl; - DoFRenumbering::renumber_Cuthill_McKee (*dof); + DoFRenumbering::Cuthill_McKee (*dof); SparseMatrixStruct sparsity (dof->n_dofs(), dof->max_couplings_between_dofs()); diff --git a/deal.II/deal.II/include/numerics/dof_renumbering.h b/deal.II/deal.II/include/numerics/dof_renumbering.h index 62c748c761..1b8bc3d71d 100644 --- a/deal.II/deal.II/include/numerics/dof_renumbering.h +++ b/deal.II/deal.II/include/numerics/dof_renumbering.h @@ -155,10 +155,10 @@ class DoFRenumbering * different methods. */ template - static void renumber_Cuthill_McKee (DoFHandler &dof_handler, - const bool reversed_numbering = false, - const bool use_constraints = false, - const vector &starting_indices = vector()); + static void Cuthill_McKee (DoFHandler &dof_handler, + const bool reversed_numbering = false, + const bool use_constraints = false, + const vector &starting_indices = vector()); /** * Renumber the degrees of freedom @@ -180,10 +180,10 @@ class DoFRenumbering * different methods. */ template - static void renumber_Cuthill_McKee (MGDoFHandler &dof_handler, - const unsigned int level, - const bool reversed_numbering = false, - const vector &starting_indices = vector ()); + static void Cuthill_McKee (MGDoFHandler &dof_handler, + const unsigned int level, + const bool reversed_numbering = false, + const vector &starting_indices = vector ()); /** diff --git a/deal.II/deal.II/source/dofs/dof_renumbering.cc b/deal.II/deal.II/source/dofs/dof_renumbering.cc index ca68898d72..8a50499ae9 100644 --- a/deal.II/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/deal.II/source/dofs/dof_renumbering.cc @@ -13,10 +13,10 @@ template -void DoFRenumbering::renumber_Cuthill_McKee (DoFHandler &dof_handler, - const bool reversed_numbering, - const bool use_constraints, - const vector &starting_indices) { +void DoFRenumbering::Cuthill_McKee (DoFHandler &dof_handler, + const bool reversed_numbering, + const bool use_constraints, + const vector &starting_indices) { // make the connection graph SparseMatrixStruct sparsity (dof_handler.n_dofs(), dof_handler.max_couplings_between_dofs()); @@ -201,10 +201,10 @@ void DoFRenumbering::renumber_Cuthill_McKee (DoFHandler &dof_handler, template -void DoFRenumbering::renumber_Cuthill_McKee (MGDoFHandler &dof_handler, - const unsigned int level, - const bool reversed_numbering, - const vector &starting_indices) { +void DoFRenumbering::Cuthill_McKee (MGDoFHandler &dof_handler, + const unsigned int level, + const bool reversed_numbering, + const vector &starting_indices) { // make the connection graph SparseMatrixStruct sparsity (dof_handler.n_dofs(level), dof_handler.max_couplings_between_dofs()); @@ -366,14 +366,14 @@ void DoFRenumbering::renumber_Cuthill_McKee (MGDoFHandler &dof_handler // explicit instantiations template -void DoFRenumbering::renumber_Cuthill_McKee (DoFHandler &dof_handler, - const bool reversed_numbering, - const bool use_constraints, - const vector &starting_indices); +void DoFRenumbering::Cuthill_McKee (DoFHandler &dof_handler, + const bool reversed_numbering, + const bool use_constraints, + const vector &starting_indices); template -void DoFRenumbering::renumber_Cuthill_McKee (MGDoFHandler &dof_handler, - const unsigned int level, - const bool reversed_numbering, - const vector &starting_indices); +void DoFRenumbering::Cuthill_McKee (MGDoFHandler &dof_handler, + const unsigned int level, + const bool reversed_numbering, + const vector &starting_indices); diff --git a/tests/big-tests/dof/dof_test.cc b/tests/big-tests/dof/dof_test.cc index 8ca5178abf..d9ee2ee997 100644 --- a/tests/big-tests/dof/dof_test.cc +++ b/tests/big-tests/dof/dof_test.cc @@ -354,7 +354,7 @@ void TestCases::run (ParameterHandler &prm) { dof->distribute_dofs (fe); cout << " Renumbering degrees of freedom..." << endl; - DoFRenumbering::renumber_Cuthill_McKee (*dof); + DoFRenumbering::Cuthill_McKee (*dof); SparseMatrixStruct sparsity (dof->n_dofs(), dof->max_couplings_between_dofs()); diff --git a/tests/deal.II/dof_test.cc b/tests/deal.II/dof_test.cc index e5f74da243..b975fd17e2 100644 --- a/tests/deal.II/dof_test.cc +++ b/tests/deal.II/dof_test.cc @@ -287,7 +287,7 @@ void TestCases::run (const unsigned int test_case) { dof->distribute_dofs (fe); cout << " Renumbering degrees of freedom..." << endl; - DoFRenumbering::renumber_Cuthill_McKee (*dof); + DoFRenumbering::Cuthill_McKee (*dof); SparseMatrixStruct sparsity (dof->n_dofs(), dof->max_couplings_between_dofs()); -- 2.39.5