* indices of each local block. If it is false, then the block sizes are
* returned.
*
- * @todo Which way does this vector map the numbers?
+ * The vector <tt>renumbering</tt> will be indexed by the standard
+ * numbering of local degrees of freedom, namely first first vertex,
+ * then second vertex, after vertices lines, quads, and hexes. For
+ * each index, the entry indicates the index which this degree of
+ * freedom receives in a umbering scheme, where the first block is
+ * numbered completely before the second.
*/
template<int dim, int spacedim>
void compute_block_renumbering (
system_to_component_table.resize(this->dofs_per_cell);
face_system_to_component_table.resize(this->dofs_per_face);
for (unsigned int j=0 ; j<this->dofs_per_cell ; ++j)
- {
- system_to_component_table[j] = std::pair<unsigned,unsigned>(0,j);
- system_to_base_table[j] = std::make_pair(std::make_pair(0U,0U),j);
- }
+ system_to_component_table[j] = std::pair<unsigned,unsigned>(0,j);
for (unsigned int j=0 ; j<this->dofs_per_face ; ++j)
- {
- face_system_to_component_table[j] = std::pair<unsigned,unsigned>(0,j);
- face_system_to_base_table[j] = std::make_pair(std::make_pair(0U,0U),j);
- }
+ face_system_to_component_table[j] = std::pair<unsigned,unsigned>(0,j);
}
+
+ for (unsigned int j=0 ; j<this->dofs_per_cell ; ++j)
+ system_to_base_table[j] = std::make_pair(std::make_pair(0U,0U),j);
+ for (unsigned int j=0 ; j<this->dofs_per_face ; ++j)
+ face_system_to_base_table[j] = std::make_pair(std::make_pair(0U,0U),j);
+
// Fill with default value; may be changed by constructor of derived class.
base_to_block_indices.reinit(1,1);