]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Cosmetics
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 3 Dec 1999 15:44:03 +0000 (15:44 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 3 Dec 1999 15:44:03 +0000 (15:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@1974 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 8a30654c59d4a271fa0269ff185bf24dca6f5c2c..0fa8bed12f0556fc03129c6f048bbd7d3c5328fb 100644 (file)
@@ -44,7 +44,7 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler<dim>& dof,
   vector<int> dofs_on_other_cell(total_dofs);
   DoFHandler<dim>::active_cell_iterator cell = dof.begin_active(),
                                        endc = dof.end();
-  for (; cell!=endc; ++cell) 
+  for (; cell!=endc; ++cell)
     {
       cell->get_dof_indices (dofs_on_this_cell);
                                       // make sparsity pattern for this cell
@@ -58,7 +58,7 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler<dim>& dof,
           face < GeometryInfo<dim>::faces_per_cell;
           ++face)
        {
-         if (cell->face(face)->boundary_indicator() == 255)
+         if (! cell->at_boundary(face) )
            {
              DoFHandler<dim>::active_cell_iterator neighbor = cell->neighbor(face);
              neighbor->get_dof_indices (dofs_on_other_cell);

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.