From 82fe50c3e5204857eefa7cc5e503d101fb9a27d6 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 9 Sep 2013 20:09:17 +0000 Subject: [PATCH] Rename a bunch of classes. git-svn-id: https://svn.dealii.org/trunk@30657 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/hp/dof_faces.h | 26 ++++++++++++------------ deal.II/include/deal.II/hp/dof_handler.h | 8 ++++---- deal.II/source/hp/dof_faces.cc | 14 ++++++------- deal.II/source/hp/dof_handler.cc | 4 ++-- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/deal.II/include/deal.II/hp/dof_faces.h b/deal.II/include/deal.II/hp/dof_faces.h index bcb99615b2..0f3f2cbb0e 100644 --- a/deal.II/include/deal.II/hp/dof_faces.h +++ b/deal.II/include/deal.II/hp/dof_faces.h @@ -101,7 +101,7 @@ namespace internal * @author Tobias Leicht, 2006 */ template - class DoFObjects + class DoFIndicesOnFacesOrEdges { public: /** @@ -274,7 +274,7 @@ namespace internal * @author Tobias Leicht, 2006 */ template - class DoFFaces; + class DoFIndicesOnFaces; /** @@ -285,7 +285,7 @@ namespace internal * @author Tobias Leicht, 2006 */ template<> - class DoFFaces<1> + class DoFIndicesOnFaces<1> { public: /** @@ -303,13 +303,13 @@ namespace internal * @author Tobias Leicht, 2006 */ template<> - class DoFFaces<2> + class DoFIndicesOnFaces<2> { public: /** * Indices of DoFs on the lines that bound cells. */ - internal::hp::DoFObjects<1> lines; + internal::hp::DoFIndicesOnFacesOrEdges<1> lines; /** * Determine an estimate for the @@ -327,18 +327,18 @@ namespace internal * @author Tobias Leicht, 2006 */ template<> - class DoFFaces<3> + class DoFIndicesOnFaces<3> { public: /** * Indices of DoFs on the lines that form the edges of cells. */ - internal::hp::DoFObjects<1> lines; + internal::hp::DoFIndicesOnFacesOrEdges<1> lines; /** * Indices of DoFs on the quads that bound cells. */ - internal::hp::DoFObjects<2> quads; + internal::hp::DoFIndicesOnFacesOrEdges<2> quads; /** * Determine an estimate for the @@ -355,7 +355,7 @@ namespace internal template inline types::global_dof_index - DoFObjects:: + DoFIndicesOnFacesOrEdges:: get_dof_index (const dealii::hp::DoFHandler &dof_handler, const unsigned int obj_index, const unsigned int fe_index, @@ -416,7 +416,7 @@ namespace internal template inline void - DoFObjects:: + DoFIndicesOnFacesOrEdges:: set_dof_index (const dealii::hp::DoFHandler &dof_handler, const unsigned int obj_index, const unsigned int fe_index, @@ -480,7 +480,7 @@ namespace internal template inline unsigned int - DoFObjects:: + DoFIndicesOnFacesOrEdges:: n_active_fe_indices (const dealii::hp::DoFHandler &dof_handler, const unsigned int obj_index) const { @@ -528,7 +528,7 @@ namespace internal template inline types::global_dof_index - DoFObjects:: + DoFIndicesOnFacesOrEdges:: nth_active_fe_index (const dealii::hp::DoFHandler &dof_handler, const unsigned int obj_level, const unsigned int obj_index, @@ -589,7 +589,7 @@ namespace internal template inline bool - DoFObjects:: + DoFIndicesOnFacesOrEdges:: fe_index_is_active (const dealii::hp::DoFHandler &dof_handler, const unsigned int obj_index, const unsigned int fe_index, diff --git a/deal.II/include/deal.II/hp/dof_handler.h b/deal.II/include/deal.II/hp/dof_handler.h index cf416021fd..4ee8bab130 100644 --- a/deal.II/include/deal.II/hp/dof_handler.h +++ b/deal.II/include/deal.II/hp/dof_handler.h @@ -39,8 +39,8 @@ namespace internal namespace hp { class DoFLevel; - template class DoFFaces; - template class DoFObjects; + template class DoFIndicesOnFaces; + template class DoFIndicesOnFacesOrEdges; namespace DoFHandler { @@ -799,7 +799,7 @@ namespace hp * faces pointer of * the Triangulation objects. */ - dealii::internal::hp::DoFFaces *faces; + dealii::internal::hp::DoFIndicesOnFaces *faces; /** * A structure that contains all @@ -900,7 +900,7 @@ namespace hp * the functions that set and * retrieve vertex dof indices. */ - template friend class dealii::internal::hp::DoFObjects; + template friend class dealii::internal::hp::DoFIndicesOnFacesOrEdges; friend struct dealii::internal::hp::DoFHandler::Implementation; }; diff --git a/deal.II/source/hp/dof_faces.cc b/deal.II/source/hp/dof_faces.cc index cde80599b1..f7a531311f 100644 --- a/deal.II/source/hp/dof_faces.cc +++ b/deal.II/source/hp/dof_faces.cc @@ -27,7 +27,7 @@ namespace internal template std::size_t - DoFObjects::memory_consumption () const + DoFIndicesOnFacesOrEdges::memory_consumption () const { return (MemoryConsumption::memory_consumption (dofs) + MemoryConsumption::memory_consumption (dof_offsets)); @@ -37,21 +37,21 @@ namespace internal // explicit instantiations template std::size_t - DoFObjects<1>::memory_consumption () const; + DoFIndicesOnFacesOrEdges<1>::memory_consumption () const; template std::size_t - DoFObjects<2>::memory_consumption () const; + DoFIndicesOnFacesOrEdges<2>::memory_consumption () const; template std::size_t - DoFObjects<3>::memory_consumption () const; + DoFIndicesOnFacesOrEdges<3>::memory_consumption () const; // ---------------------- DoFFaces ---------------------------- std::size_t - DoFFaces<1>::memory_consumption () const + DoFIndicesOnFaces<1>::memory_consumption () const { return 0; } @@ -59,7 +59,7 @@ namespace internal std::size_t - DoFFaces<2>::memory_consumption () const + DoFIndicesOnFaces<2>::memory_consumption () const { return MemoryConsumption::memory_consumption (lines); } @@ -67,7 +67,7 @@ namespace internal std::size_t - DoFFaces<3>::memory_consumption () const + DoFIndicesOnFaces<3>::memory_consumption () const { return (MemoryConsumption::memory_consumption (lines) + MemoryConsumption::memory_consumption (quads) ); diff --git a/deal.II/source/hp/dof_handler.cc b/deal.II/source/hp/dof_handler.cc index 0eec20bccc..eeec5b43e1 100644 --- a/deal.II/source/hp/dof_handler.cc +++ b/deal.II/source/hp/dof_handler.cc @@ -671,7 +671,7 @@ namespace internal std::swap (active_fe_backup[level], dof_handler.levels[level]->active_fe_indices); } - dof_handler.faces = new internal::hp::DoFFaces<2>; + dof_handler.faces = new internal::hp::DoFIndicesOnFaces<2>; } @@ -1036,7 +1036,7 @@ namespace internal std::swap (active_fe_backup[level], dof_handler.levels[level]->active_fe_indices); } - dof_handler.faces = new internal::hp::DoFFaces<3>; + dof_handler.faces = new internal::hp::DoFIndicesOnFaces<3>; } -- 2.39.5