From 6f992e466ffd6ce9def0466c3fff01dabacb5f62 Mon Sep 17 00:00:00 2001 From: heister Date: Wed, 2 Jan 2013 21:55:26 +0000 Subject: [PATCH] use n_raw_cells instead of n_raw_* if possible git-svn-id: https://svn.dealii.org/branches/branch_merge_mg_into_dof_handler@27907 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_handler.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deal.II/source/dofs/dof_handler.cc b/deal.II/source/dofs/dof_handler.cc index f3c0b60b62..8d575a0ceb 100644 --- a/deal.II/source/dofs/dof_handler.cc +++ b/deal.II/source/dofs/dof_handler.cc @@ -263,12 +263,12 @@ namespace internal .push_back (new internal::DoFHandler::DoFLevel<1>); dof_handler.levels.back()->dof_object.dofs - .resize (dof_handler.tria->n_raw_lines(i) * + .resize (dof_handler.tria->n_raw_cells(i) * dof_handler.selected_fe->dofs_per_line, DoFHandler<1,spacedim>::invalid_dof_index); dof_handler.levels.back()->cell_dof_indices_cache - .resize (dof_handler.tria->n_raw_lines(i) * + .resize (dof_handler.tria->n_raw_cells(i) * dof_handler.selected_fe->dofs_per_cell, DoFHandler<1,spacedim>::invalid_dof_index); } @@ -289,12 +289,12 @@ namespace internal dof_handler.levels.push_back (new internal::DoFHandler::DoFLevel<2>); dof_handler.levels.back()->dof_object.dofs - .resize (dof_handler.tria->n_raw_quads(i) * + .resize (dof_handler.tria->n_raw_cells(i) * dof_handler.selected_fe->dofs_per_quad, DoFHandler<2,spacedim>::invalid_dof_index); dof_handler.levels.back()->cell_dof_indices_cache - .resize (dof_handler.tria->n_raw_quads(i) * + .resize (dof_handler.tria->n_raw_cells(i) * dof_handler.selected_fe->dofs_per_cell, DoFHandler<2,spacedim>::invalid_dof_index); } @@ -325,12 +325,12 @@ namespace internal dof_handler.levels.push_back (new internal::DoFHandler::DoFLevel<3>); dof_handler.levels.back()->dof_object.dofs - .resize (dof_handler.tria->n_raw_hexs(i) * + .resize (dof_handler.tria->n_raw_cells(i) * dof_handler.selected_fe->dofs_per_hex, DoFHandler<3,spacedim>::invalid_dof_index); dof_handler.levels.back()->cell_dof_indices_cache - .resize (dof_handler.tria->n_raw_hexs(i) * + .resize (dof_handler.tria->n_raw_cells(i) * dof_handler.selected_fe->dofs_per_cell, DoFHandler<3,spacedim>::invalid_dof_index); } @@ -1477,7 +1477,7 @@ DoFHandler::max_couplings_between_boundary_dofs () const // this assumption is not // justified and needs to be // fixed some time. fortunately, - // ommitting it for now does no + // omitting it for now does no // harm since the matrix will cry // foul if its requirements are // not satisfied -- 2.39.5