From e0ccc1d62bf39384453a654cae7246fca3a1b994 Mon Sep 17 00:00:00 2001 From: "denis.davydov" Date: Tue, 8 Apr 2014 16:35:04 +0000 Subject: [PATCH] reverted Assert in get_dof_indices since there are no artifical cells and thus all dofs are available on all cells for each processor git-svn-id: https://svn.dealii.org/branches/branch_sharedtria@32738 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/dofs/dof_accessor.templates.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/deal.II/include/deal.II/dofs/dof_accessor.templates.h b/deal.II/include/deal.II/dofs/dof_accessor.templates.h index cd33e62451..42446a05c0 100644 --- a/deal.II/include/deal.II/dofs/dof_accessor.templates.h +++ b/deal.II/include/deal.II/dofs/dof_accessor.templates.h @@ -3261,10 +3261,8 @@ void DoFCellAccessor::get_dof_indices (std::vector &dof_indices) const { Assert (this->active(), ExcMessage ("get_dof_indices() only works on active cells.")); - - Assert ( (dynamic_cast*>(this->tria)==0) - ||(this->is_artificial() == false), - ExcMessage ("Can't ask for DoF indices on artificial cells of distributed triangulation.")); + Assert (this->is_artificial() == false, + ExcMessage ("Can't ask for DoF indices on artificial cells.")); AssertDimension (dof_indices.size(), this->get_fe().dofs_per_cell); const types::global_dof_index *cache -- 2.39.5