From: bangerth Date: Wed, 14 Nov 2012 03:04:59 +0000 (+0000) Subject: Convert to types::global_dof_index and fix a significant number of places X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce4d128fff9aae03f27916b6edc34a32091ce7ff;p=dealii-svn.git Convert to types::global_dof_index and fix a significant number of places where function arguments were simply using single letters that gave away absolutely nothing as to what their meaning might be (and no indication in the documentation either...). git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_3@27530 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/meshworker/dof_info.h b/deal.II/include/deal.II/meshworker/dof_info.h index e21467e5dd..0e8b28a3c0 100644 --- a/deal.II/include/deal.II/meshworker/dof_info.h +++ b/deal.II/include/deal.II/meshworker/dof_info.h @@ -97,14 +97,14 @@ namespace MeshWorker * The DoF indices of the * current cell */ - std::vector indices; + std::vector indices; /** * The DoF indices on the * current cell, organized by * local blocks */ - std::vector > indices_by_block; + std::vector > indices_by_block; /** * Constructor setting the @@ -136,7 +136,7 @@ namespace MeshWorker template void reinit(const DHCellIterator& c, const DHFaceIterator& f, - const unsigned int n); + const unsigned int face_no); /** * Set the current subface @@ -146,8 +146,8 @@ namespace MeshWorker template void reinit(const DHCellIterator& c, const DHFaceIterator& f, - const unsigned int n, - const unsigned int s); + const unsigned int face_no, + const unsigned int subface_no); /** * Switch to a new face of the @@ -157,7 +157,7 @@ namespace MeshWorker */ template void set_face (const DHFaceIterator& f, - const unsigned int n); + const unsigned int face_no); /** * Switch to a new subface of the * same cell. Does not change @@ -166,8 +166,8 @@ namespace MeshWorker */ template void set_subface (const DHFaceIterator& f, - const unsigned int n, - const unsigned int s); + const unsigned int face_no, + const unsigned int subface_no); const BlockIndices& local_indices() const; @@ -197,7 +197,7 @@ namespace MeshWorker void get_indices(const typename MGDoFHandler::cell_iterator& c); /// Auxiliary vector - std::vector indices_org; + std::vector indices_org; /** * An auxiliary local @@ -324,10 +324,10 @@ namespace MeshWorker inline void DoFInfo::set_face( const DHFaceIterator& f, - unsigned int n) + const unsigned int face_no) { face = static_cast::face_iterator> (f); - face_number = n; + face_number = face_no; sub_number = deal_II_numbers::invalid_unsigned_int; } @@ -338,13 +338,13 @@ namespace MeshWorker DoFInfo::reinit( const DHCellIterator& c, const DHFaceIterator& f, - unsigned int n) + const unsigned int face_no) { if ((cell.state() != IteratorState::valid) || cell != static_cast::cell_iterator> (c)) get_indices(c); cell = static_cast::cell_iterator> (c); - set_face(f,n); + set_face(f, face_no); if (block_info) LocalResults::reinit(block_info->local()); @@ -358,12 +358,12 @@ namespace MeshWorker inline void DoFInfo::set_subface( const DHFaceIterator& f, - unsigned int n, - unsigned int s) + const unsigned int face_no, + const unsigned int subface_no) { face = static_cast::face_iterator> (f); - face_number = n; - sub_number = s; + face_number = face_no; + sub_number = subface_no; } @@ -373,14 +373,14 @@ namespace MeshWorker DoFInfo::reinit( const DHCellIterator& c, const DHFaceIterator& f, - unsigned int n, - unsigned int s) + const unsigned int face_no, + const unsigned int subface_no) { if (cell.state() != IteratorState::valid || cell != static_cast::cell_iterator> (c)) get_indices(c); cell = static_cast::cell_iterator> (c); - set_subface(f,n,s); + set_subface(f, face_no, subface_no); if (block_info) LocalResults::reinit(block_info->local());