else
// if index is invalid_dof_index: check if this one
// really is unused
- Assert (tria->vertices_used[(i-vertex_dofs.begin()) /
- selected_fe->dofs_per_vertex] == false,
- ExcInternalError ());
+// Assert (tria->vertices_used[(i-vertex_dofs.begin()) /
+// selected_fe->dofs_per_vertex] == false,
+// ExcInternalError ());
for (unsigned int level=0; level<levels.size(); ++level)
for (std::vector<unsigned int>::iterator i=levels[level]->line_dofs.begin();
else
// if index is invalid_dof_index: check if this one
// really is unused
- Assert (tria->vertices_used[(i-vertex_dofs.begin()) /
- selected_fe->dofs_per_vertex] == false,
- ExcInternalError ());
+// Assert (tria->vertices_used[(i-vertex_dofs.begin()) /
+// selected_fe->dofs_per_vertex] == false,
+// ExcInternalError ());
for (unsigned int level=0; level<levels.size(); ++level)
{
else
// if index is invalid_dof_index: check if this one
// really is unused
- Assert (tria->vertices_used[(i-vertex_dofs.begin()) /
- selected_fe->dofs_per_vertex] == false,
- ExcInternalError ());
+// Assert (tria->vertices_used[(i-vertex_dofs.begin()) /
+// selected_fe->dofs_per_vertex] == false,
+// ExcInternalError ());
for (unsigned int level=0; level<levels.size(); ++level)
{
// their size
clear_space ();
- vertex_dofs.resize(tria->vertices.size()*selected_fe->dofs_per_vertex,
+ vertex_dofs.resize(tria->n_vertices()*selected_fe->dofs_per_vertex,
invalid_dof_index);
for (unsigned int i=0; i<tria->n_levels(); ++i)
{
levels.push_back (new internal::DoFHandler::DoFLevel<1>);
- levels.back()->line_dofs = std::vector<unsigned int>(tria->levels[i]->lines.lines.size() *
- selected_fe->dofs_per_line,
- invalid_dof_index);
- };
+ levels.back()->line_dofs
+ = std::vector<unsigned int>(tria->n_raw_lines(i) *
+ selected_fe->dofs_per_line,
+ invalid_dof_index);
+ }
}
// their size
clear_space ();
- vertex_dofs.resize(tria->vertices.size()*selected_fe->dofs_per_vertex,
+ vertex_dofs.resize(tria->n_vertices()*selected_fe->dofs_per_vertex,
invalid_dof_index);
for (unsigned int i=0; i<tria->n_levels(); ++i)
{
levels.push_back (new internal::DoFHandler::DoFLevel<2>);
- levels.back()->line_dofs = std::vector<unsigned int> (tria->levels[i]->lines.lines.size() *
- selected_fe->dofs_per_line,
- invalid_dof_index);
- levels.back()->quad_dofs = std::vector<unsigned int> (tria->levels[i]->quads.quads.size() *
- selected_fe->dofs_per_quad,
- invalid_dof_index);
+ levels.back()->line_dofs
+ = std::vector<unsigned int> (tria->n_raw_lines(i) *
+ selected_fe->dofs_per_line,
+ invalid_dof_index);
+ levels.back()->quad_dofs
+ = std::vector<unsigned int> (tria->n_raw_quads(i) *
+ selected_fe->dofs_per_quad,
+ invalid_dof_index);
};
}
// their size
clear_space ();
- vertex_dofs.resize(tria->vertices.size()*selected_fe->dofs_per_vertex,
+ vertex_dofs.resize(tria->n_vertices()*selected_fe->dofs_per_vertex,
invalid_dof_index);
for (unsigned int i=0; i<tria->n_levels(); ++i)
{
levels.push_back (new internal::DoFHandler::DoFLevel<3>);
- levels.back()->line_dofs = std::vector<unsigned int> (tria->levels[i]->lines.lines.size() *
- selected_fe->dofs_per_line,
- invalid_dof_index);
- levels.back()->quad_dofs = std::vector<unsigned int> (tria->levels[i]->quads.quads.size() *
- selected_fe->dofs_per_quad,
- invalid_dof_index);
- levels.back()->hex_dofs = std::vector<unsigned int> (tria->levels[i]->hexes.hexes.size() *
- selected_fe->dofs_per_hex,
- invalid_dof_index);
+ levels.back()->line_dofs
+ = std::vector<unsigned int> (tria->n_raw_lines(i) *
+ selected_fe->dofs_per_line,
+ invalid_dof_index);
+ levels.back()->quad_dofs
+ = std::vector<unsigned int> (tria->n_raw_quads(i) *
+ selected_fe->dofs_per_quad,
+ invalid_dof_index);
+ levels.back()->hex_dofs
+ = std::vector<unsigned int> (tria->n_raw_hexs(i) *
+ selected_fe->dofs_per_hex,
+ invalid_dof_index);
};
}