From 7d154d94289d744d4871d53af1ff4d5872b96f73 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 12 Feb 2006 04:57:23 +0000 Subject: [PATCH] Lot's more indentation changes. git-svn-id: https://svn.dealii.org/trunk@12330 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/schur_matrix.h | 226 ++++++++++++------------- 1 file changed, 113 insertions(+), 113 deletions(-) diff --git a/deal.II/lac/include/lac/schur_matrix.h b/deal.II/lac/include/lac/schur_matrix.h index 8553f4bd21..455b8f1f2e 100644 --- a/deal.II/lac/include/lac/schur_matrix.h +++ b/deal.II/lac/include/lac/schur_matrix.h @@ -93,122 +93,122 @@ class SchurMatrix : public Subscriptor { public: - /** - * Constructor. This constructor - * receives all the matrices - * needed. Furthermore, it gets a - * reference to a memory structure - * for obtaining block vectors. - * - * Optionally, the length of the - * @p u-vector can be provided. - * - * For the meaning of the matrices - * see the class documentation. - */ - SchurMatrix(const MA_inverse& Ainv, - const MB& B, - const MDt& Dt, - const MC& C, - VectorMemory >& mem, - const std::vector& signature = std::vector(0)); - - /** - * Do block elimination of the - * right hand side. Given right - * hand sides for both components - * of the block system, this - * function provides the right hand - * side for the Schur complement. - * - * The result is stored in the - * first argument, which is also - * part of the input data. If it is - * necessary to conserve the data, - * @p dst must be copied before - * calling this function. This is - * reasonable, since in many cases, - * only the pre-processed right - * hand side is needed. - */ - void prepare_rhs (BlockVector& dst, - const BlockVector& src) const; - - /** - * Multiplication with the Schur - * complement. - */ - void vmult (BlockVector& dst, - const BlockVector& src) const; + /** + * Constructor. This constructor + * receives all the matrices + * needed. Furthermore, it gets a + * reference to a memory structure + * for obtaining block vectors. + * + * Optionally, the length of the + * @p u-vector can be provided. + * + * For the meaning of the matrices + * see the class documentation. + */ + SchurMatrix(const MA_inverse& Ainv, + const MB& B, + const MDt& Dt, + const MC& C, + VectorMemory >& mem, + const std::vector& signature = std::vector(0)); + + /** + * Do block elimination of the + * right hand side. Given right + * hand sides for both components + * of the block system, this + * function provides the right hand + * side for the Schur complement. + * + * The result is stored in the + * first argument, which is also + * part of the input data. If it is + * necessary to conserve the data, + * @p dst must be copied before + * calling this function. This is + * reasonable, since in many cases, + * only the pre-processed right + * hand side is needed. + */ + void prepare_rhs (BlockVector& dst, + const BlockVector& src) const; + + /** + * Multiplication with the Schur + * complement. + */ + void vmult (BlockVector& dst, + const BlockVector& src) const; // void Tmult(BlockVector& dst, const BlockVector& src) const; - /** - * Computation of the residual of - * the Schur complement. - */ - double residual (BlockVector& dst, - const BlockVector& src, - const BlockVector& rhs) const; - - /** - * Compute the eliminated variable - * from the solution of the Schur - * complement problem. - */ - void postprocess (BlockVector& dst, - const BlockVector& src, - const BlockVector& rhs) const; - - /** - * Select debugging information for - * log-file. Debug level 1 is - * defined and writes the norm of - * every vector before and after - * each operation. Debug level 0 - * turns off debugging information. - */ - void debug_level(unsigned int l); + /** + * Computation of the residual of + * the Schur complement. + */ + double residual (BlockVector& dst, + const BlockVector& src, + const BlockVector& rhs) const; + + /** + * Compute the eliminated variable + * from the solution of the Schur + * complement problem. + */ + void postprocess (BlockVector& dst, + const BlockVector& src, + const BlockVector& rhs) const; + + /** + * Select debugging information for + * log-file. Debug level 1 is + * defined and writes the norm of + * every vector before and after + * each operation. Debug level 0 + * turns off debugging information. + */ + void debug_level(unsigned int l); private: - /** - * No copy constructor. - */ - SchurMatrix (const SchurMatrix&); - /** - * No assignment. - */ - SchurMatrix& operator = (const SchurMatrix&); - - /** - * Pointer to inverse of upper left block. - */ - const SmartPointer Ainv; - /** - * Pointer to lower left block. - */ - const SmartPointer B; - /** - * Pointer to transpose of upper right block. - */ - const SmartPointer Dt; - /** - * Pointer to lower right block. - */ - const SmartPointer C; - /** - * Auxiliary memory for vectors. - */ - VectorMemory >& mem; - - /** - * Optional signature of the @p u-vector. - */ - std::vector signature; + /** + * No copy constructor. + */ + SchurMatrix (const SchurMatrix&); + /** + * No assignment. + */ + SchurMatrix& operator = (const SchurMatrix&); + + /** + * Pointer to inverse of upper left block. + */ + const SmartPointer Ainv; + /** + * Pointer to lower left block. + */ + const SmartPointer B; + /** + * Pointer to transpose of upper right block. + */ + const SmartPointer Dt; + /** + * Pointer to lower right block. + */ + const SmartPointer C; + /** + * Auxiliary memory for vectors. + */ + VectorMemory >& mem; + + /** + * Optional signature of the @p u-vector. + */ + std::vector signature; - /** - * Switch for debugging information. - */ - unsigned int debug; + /** + * Switch for debugging information. + */ + unsigned int debug; }; /*@}*/ @@ -224,8 +224,8 @@ SchurMatrix const std::vector& signature) : Ainv(&Ainv), B(&B), Dt(&Dt), C(&C), mem(mem), - signature(signature), - debug(0) + signature(signature), + debug(0) { } -- 2.39.5