From: wolf Date: Sun, 18 Jul 1999 21:21:27 +0000 (+0000) Subject: Make bit_vector a vector. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68eb26d71fd118a22076c1f5fb642f9bc4ee5ea4;p=dealii-svn.git Make bit_vector a vector. git-svn-id: https://svn.dealii.org/trunk@1589 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_vanka.h b/deal.II/lac/include/lac/sparse_vanka.h index 377b13b6df..3f8265e8b5 100644 --- a/deal.II/lac/include/lac/sparse_vanka.h +++ b/deal.II/lac/include/lac/sparse_vanka.h @@ -10,9 +10,9 @@ #include #include -#include #include + /** * Point-wise Vanka preconditioning. * This class does Vanka preconditioning on a point-wise base. @@ -100,8 +100,9 @@ class SparseVanka * object. The same is true for * the matrix. */ - SparseVanka(const SparseMatrix& M, - const bit_vector& selected); + SparseVanka(const SparseMatrix &M, + const vector &selected); + /** * Destructor. * Delete all allocated matrices. @@ -168,11 +169,13 @@ class SparseVanka * Indices of Lagrange * multipliers. */ - const bit_vector& selected; + const vector &selected; + /** * Conserve memory flag. */ bool conserve_mem; + /** * Array of inverse matrices, * one for each degree of freedom. diff --git a/deal.II/lac/include/lac/sparse_vanka.templates.h b/deal.II/lac/include/lac/sparse_vanka.templates.h index 8a9b24c631..2e6ede0d2a 100644 --- a/deal.II/lac/include/lac/sparse_vanka.templates.h +++ b/deal.II/lac/include/lac/sparse_vanka.templates.h @@ -12,7 +12,7 @@ template SparseVanka::SparseVanka(const SparseMatrix &M, - const bit_vector &selected) + const vector &selected) : matrix(&M), selected(selected),