]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Lot's more indentation changes.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 12 Feb 2006 04:57:23 +0000 (04:57 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 12 Feb 2006 04:57:23 +0000 (04:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@12330 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/schur_matrix.h

index 8553f4bd219c653320c762d9f5ea70343898a794..455b8f1f2ef11648d89b98f327d0548c06fba11b 100644 (file)
@@ -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<BlockVector<double> >& mem,
-             const std::vector<unsigned int>& signature = std::vector<unsigned int>(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<double>& dst,
-                   const BlockVector<double>& src) const;
-
-                                  /**
-                                   * Multiplication with the Schur
-                                   * complement.
-                                   */
-  void vmult (BlockVector<double>& dst,
-             const BlockVector<double>& 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<BlockVector<double> >& mem,
+                const std::vector<unsigned int>& signature = std::vector<unsigned int>(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<double>& dst,
+                      const BlockVector<double>& src) const;
+
+                                     /**
+                                      * Multiplication with the Schur
+                                      * complement.
+                                      */
+    void vmult (BlockVector<double>& dst,
+                const BlockVector<double>& src) const;
 
 //  void Tmult(BlockVector<double>& dst, const BlockVector<double>& src) const;
 
-                                  /**
-                                   * Computation of the residual of
-                                   * the Schur complement.
-                                   */
-  double residual (BlockVector<double>& dst,
-                  const BlockVector<double>& src,
-                  const BlockVector<double>& rhs) const;
-
-                                  /**
-                                   * Compute the eliminated variable
-                                   * from the solution of the Schur
-                                   * complement problem.
-                                   */
-  void postprocess (BlockVector<double>& dst,
-                   const BlockVector<double>& src,
-                   const BlockVector<double>& 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<double>& dst,
+                     const BlockVector<double>& src,
+                     const BlockVector<double>& rhs) const;
+
+                                     /**
+                                      * Compute the eliminated variable
+                                      * from the solution of the Schur
+                                      * complement problem.
+                                      */
+    void postprocess (BlockVector<double>& dst,
+                      const BlockVector<double>& src,
+                      const BlockVector<double>& 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<MA_inverse, MB, MDt, MC>&);
-                                  /**
-                                   * No assignment.
-                                   */
-  SchurMatrix& operator = (const SchurMatrix<MA_inverse, MB, MDt, MC>&);
-
-                                  /**
-                                   * Pointer to inverse of upper left block.
-                                   */
-  const SmartPointer<const MA_inverse> Ainv;
-                                  /**
-                                   * Pointer to lower left block.
-                                   */
-  const SmartPointer<const MB> B;
-                                  /**
-                                   * Pointer to transpose of upper right block.
-                                   */
-  const SmartPointer<const MDt> Dt;
-                                  /**
-                                   * Pointer to lower right block.
-                                   */
-  const SmartPointer<const MC> C;
-                                  /**
-                                   * Auxiliary memory for vectors.
-                                   */
-  VectorMemory<BlockVector<double> >& mem;
-
-                                  /**
-                                   * Optional signature of the @p u-vector.
-                                   */
-  std::vector<unsigned int> signature;
+                                     /**
+                                      * No copy constructor.
+                                      */
+    SchurMatrix (const SchurMatrix<MA_inverse, MB, MDt, MC>&);
+                                     /**
+                                      * No assignment.
+                                      */
+    SchurMatrix& operator = (const SchurMatrix<MA_inverse, MB, MDt, MC>&);
+
+                                     /**
+                                      * Pointer to inverse of upper left block.
+                                      */
+    const SmartPointer<const MA_inverse> Ainv;
+                                     /**
+                                      * Pointer to lower left block.
+                                      */
+    const SmartPointer<const MB> B;
+                                     /**
+                                      * Pointer to transpose of upper right block.
+                                      */
+    const SmartPointer<const MDt> Dt;
+                                     /**
+                                      * Pointer to lower right block.
+                                      */
+    const SmartPointer<const MC> C;
+                                     /**
+                                      * Auxiliary memory for vectors.
+                                      */
+    VectorMemory<BlockVector<double> >& mem;
+
+                                     /**
+                                      * Optional signature of the @p u-vector.
+                                      */
+    std::vector<unsigned int> signature;
   
-                                  /**
-                                   * Switch for debugging information.
-                                   */
-  unsigned int debug;
+                                     /**
+                                      * Switch for debugging information.
+                                      */
+    unsigned int debug;
 };
 
 /*@}*/
@@ -224,8 +224,8 @@ SchurMatrix<MA_inverse, MB, MDt, MC>
              const std::vector<unsigned int>& signature)
                : Ainv(&Ainv), B(&B), Dt(&Dt), C(&C),
                  mem(mem),
-               signature(signature),
-               debug(0)
+                  signature(signature),
+                  debug(0)
 {
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.