]> https://gitweb.dealii.org/ - dealii.git/commitdiff
boundary cells have no neighbors
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 28 Mar 2006 06:08:32 +0000 (06:08 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 28 Mar 2006 06:08:32 +0000 (06:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@12707 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index a6850106cd9b55806b4580267bd476244e745fe0..ca7ff7755c164b8f449743ba7ca88adb0305c3fe 100644 (file)
@@ -897,6 +897,8 @@ DoFTools::compute_row_length_vector(
                                   // flux contributions.
       for (unsigned int iface=0;iface<GeometryInfo<DH::dimension>::faces_per_cell;++iface)
        {
+         if (cell->at_boundary(iface))
+           continue;
          const typename DH::cell_iterator neighbor = cell->neighbor(iface);
          const FiniteElement<DH::dimension>& nfe = neighbor->get_fe();
          typename DH::face_iterator face = cell->face(iface);

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.