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

« back to all changes in this revision

Viewing changes to lac/include/lac/petsc_vector.h

  • 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
1
//---------------------------------------------------------------------------
2
 
//    $Id: petsc_vector.h 18538 2009-03-31 13:32:02Z young $
 
2
//    $Id: petsc_vector.h 18762 2009-04-28 03:37:49Z bangerth $
3
3
//    Version: $Name$
4
4
//
5
 
//    Copyright (C) 2004, 2005, 2006, 2007 by the deal.II authors
 
5
//    Copyright (C) 2004, 2005, 2006, 2007, 2009 by the deal.II authors
6
6
//
7
7
//    This file is subject to QPL and may not be  distributed
8
8
//    without copyright and license information. Please refer
286
286
    AssertThrow (ierr == 0, ExcPETScError(ierr));
287
287
    
288
288
#if ((PETSC_VERSION_MAJOR == 2) && \
289
 
    (PETSC_VERSION_MINOR < 3) &&  \
290
 
    (PETSC_VERSION_SUBMINOR < 3))
291
 
 
 
289
     ((PETSC_VERSION_MINOR < 3) || \
 
290
      ((PETSC_VERSION_MINOR == 3) &&            \
 
291
       (PETSC_VERSION_SUBMINOR < 3))))
292
292
    ierr = VecScatterBegin (static_cast<const Vec &>(v), vector,
293
293
                            INSERT_VALUES, SCATTER_FORWARD, ctx);
294
294
    AssertThrow (ierr == 0, ExcPETScError(ierr));