]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
reverted Assert in get_dof_indices since there are no artifical cells and thus all...
authordenis.davydov <denis.davydov@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Apr 2014 16:35:04 +0000 (16:35 +0000)
committerdenis.davydov <denis.davydov@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Apr 2014 16:35:04 +0000 (16:35 +0000)
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

index cd33e62451d1956cb98d128f85220b5e17baf0f3..42446a05c0d516235405b33551b0d3a9cb3a0308 100644 (file)
@@ -3261,10 +3261,8 @@ void
 DoFCellAccessor<DH,level_dof_access>::get_dof_indices (std::vector<types::global_dof_index> &dof_indices) const
 {
   Assert (this->active(), ExcMessage ("get_dof_indices() only works on active cells."));
-  
-  Assert ( (dynamic_cast<const dealii::parallel::distributed::Triangulation<DH::dimension,DH::space_dimension>*>(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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.