From a4af5ceb0b75b111dc16411ab537550cb72ef4b1 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 27 Oct 2012 11:38:03 +0000 Subject: [PATCH] Make work. git-svn-id: https://svn.dealii.org/trunk@27227 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/petsc/petsc_mf_testmatrix.h | 3 +++ tests/petsc/solver_03_mf.cc | 4 ++-- tests/petsc/solver_03_mf/cmp/generic | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/petsc/petsc_mf_testmatrix.h b/tests/petsc/petsc_mf_testmatrix.h index 093ea6b6d5..0d9441323f 100644 --- a/tests/petsc/petsc_mf_testmatrix.h +++ b/tests/petsc/petsc_mf_testmatrix.h @@ -6,6 +6,9 @@ #include #include +// A variant of the tests/lac/testmatrix.h file that uses the PETSc +// matrix free interface + /** * Finite difference PETSc matrix-free object on uniform grid. diff --git a/tests/petsc/solver_03_mf.cc b/tests/petsc/solver_03_mf.cc index a914c25cd2..4037e28989 100644 --- a/tests/petsc/solver_03_mf.cc +++ b/tests/petsc/solver_03_mf.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2010 by the deal.II authors +// Copyright (C) 2004, 2005, 2010, 2012 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -15,7 +15,7 @@ #include "../tests.h" -#include "../lac/petsc_mf_testmatrix.h" +#include "petsc_mf_testmatrix.h" #include #include #include diff --git a/tests/petsc/solver_03_mf/cmp/generic b/tests/petsc/solver_03_mf/cmp/generic index 2237281800..bea3eb1acb 100644 --- a/tests/petsc/solver_03_mf/cmp/generic +++ b/tests/petsc/solver_03_mf/cmp/generic @@ -1,6 +1,6 @@ DEAL::Size 32 Unknowns 961 DEAL::Solver type: N6dealii13PETScWrappers8SolverCGE -DEAL::Starting value 7.750 -DEAL::Convergence step 41 value 0.0006730 -DEAL::Solver stopped after 41 iterations +DEAL::Starting value 31.00 +DEAL::Convergence step 43 value 0.0008189 +DEAL::Solver stopped after 43 iterations -- 2.39.5