~ubuntu-branches/ubuntu/vivid/deal.ii/vivid

« back to all changes in this revision

Viewing changes to examples/step-18/step-18.cc

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-07-21 08:02:26 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090721080226-h4itnctcm1l26swz
Tags: 6.2.1-1
* New upstream release.
* Removed backslashes from dependencies (closes: #535284).
* Added libboost-graph-dev to Build-Depends (closes: #533629).
* Updated Standards-Version.
* Updated debhelper Build-Depends version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: step-18.cc 18448 2009-03-04 22:01:56Z kronbichler $ */
 
1
/* $Id: step-18.cc 18898 2009-06-04 14:18:15Z bangerth $ */
2
2
/* Author: Wolfgang Bangerth, University of Texas at Austin, 2000, 2004, 2005 */
3
3
 
4
 
/*    $Id: step-18.cc 18448 2009-03-04 22:01:56Z kronbichler $       */
 
4
/*    $Id: step-18.cc 18898 2009-06-04 14:18:15Z bangerth $       */
5
5
/*                                                                */
6
6
/*    Copyright (C) 2000, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors */
7
7
/*                                                                */
2509
2509
    for (typename Triangulation<dim>::active_cell_iterator
2510
2510
           cell = triangulation.begin_active();
2511
2511
         cell != triangulation.end(); ++cell)
2512
 
      {
2513
 
        cell->clear_user_pointer();
2514
 
        if (cell->subdomain_id() == this_mpi_process)
2515
 
          ++our_cells;
2516
 
      }
 
2512
      if (cell->subdomain_id() == this_mpi_process)
 
2513
        ++our_cells;
 
2514
      
 
2515
    triangulation.clear_user_data();
2517
2516
 
2518
2517
                                     // Next, allocate as many quadrature
2519
2518
                                     // objects as we need. Since the