From 8f506d94a035b981fb8b58315596afb1707096cb Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 20 Feb 2013 14:08:54 +0000 Subject: [PATCH] Fix compilation of the ARPACK interfaces. git-svn-id: https://svn.dealii.org/trunk@28492 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/news/changes.h | 5 +++++ deal.II/include/deal.II/lac/arpack_solver.h | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index f3b589a070..90e499d8f7 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -208,6 +208,11 @@ DoFHandler, in particular removal of specializations.

Specific improvements

    +
  1. Fixed: The ArpackSolver interface to the ARPACK eigenvalue solver could +not be compiled with newer C++ compilers. This is now fixed. +
    +(Juan Carlos Araujo Cabarcas, Wolfgang Bangerth, 2013/02/20) +
  2. New: PETScWrappers::MPI::BlockVector now has a constructor and reinit that takes a std::vector (same interface as in Trilinos).
    diff --git a/deal.II/include/deal.II/lac/arpack_solver.h b/deal.II/include/deal.II/lac/arpack_solver.h index 7211dcb544..fd3abf17c2 100644 --- a/deal.II/include/deal.II/lac/arpack_solver.h +++ b/deal.II/include/deal.II/lac/arpack_solver.h @@ -3,7 +3,7 @@ // Authors: Bärbel Janssen, University of Heidelberg, // Agnieszka Miedler, TU Berlin, 2010 // -// Copyright (C) 2010, 2012 by the deal.II authors +// Copyright (C) 2010, 2012, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -490,10 +490,8 @@ void ArpackSolver::solve ( AssertDimension (eigenvalues.size(), eigenvalues_im.size()); for (unsigned int i=0; i (eigenvalues_real[i], + eigenvalues_im[i]); } } -- 2.39.5