From a5f970e4b785e6e7716b3501934748afb9187128 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 1 Aug 2006 15:39:13 +0000 Subject: [PATCH] Move the declaration of collect_sizes to immediately after reinit(), where it makes the most sense. git-svn-id: https://svn.dealii.org/trunk@13570 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/lac/petsc_block_sparse_matrix.h | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/deal.II/lac/include/lac/petsc_block_sparse_matrix.h b/deal.II/lac/include/lac/petsc_block_sparse_matrix.h index 2b511b8e20..ac739a64d3 100644 --- a/deal.II/lac/include/lac/petsc_block_sparse_matrix.h +++ b/deal.II/lac/include/lac/petsc_block_sparse_matrix.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005 by the deal.II authors +// Copyright (C) 2004, 2005, 2006 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -166,6 +166,20 @@ namespace PETScWrappers void reinit (const unsigned int n_block_rows, const unsigned int n_block_columns); + /** + * This function collects the + * sizes of the sub-objects and + * stores them in internal + * arrays, in order to be able to + * relay global indices into the + * matrix to indices into the + * subobjects. You *must* call + * this function each time after + * you have changed the size of + * the sub-objects. + */ + void collect_sizes (); + /** * Matrix-vector multiplication: * let $dst = M*src$ with $M$ @@ -245,20 +259,6 @@ namespace PETScWrappers void Tvmult (Vector &dst, const Vector &src) const; - /** - * This function collects the - * sizes of the sub-objects and - * stores them in internal - * arrays, in order to be able to - * relay global indices into the - * matrix to indices into the - * subobjects. You *must* call - * this function each time after - * you have changed the size of - * the sub-objects. - */ - void collect_sizes (); - /** * Make the clear() function in the * base class visible, though it is -- 2.39.5