]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Indent properly.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Apr 2004 20:54:32 +0000 (20:54 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Apr 2004 20:54:32 +0000 (20:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@9032 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/petsc_parallel_vector.cc

index 6524a40fc2b7aa736268a88fed5dff9951520c47..cc3fbf8019eb20699457cc86967a675a2bda4749 100644 (file)
@@ -113,27 +113,31 @@ namespace PETScWrappers
     Vector &
     Vector::operator = (const PETScWrappers::Vector &v)
     {
-      // first flush buffers
+                                       // first flush buffers
       compress ();
 
       int ierr;
 
-                            // get a pointer to the local memory of this vector
+                                       // get a pointer to the local memory of
+                                       // this vector
       PetscScalar *dest_array;
       ierr = VecGetArray (vector, &dest_array);
       AssertThrow (ierr == 0, ExcPETScError(ierr));
 
-                            // then also a pointer to the source vector
+                                       // then also a pointer to the source
+                                       // vector
       PetscScalar *src_array;
       ierr = VecGetArray (static_cast<const Vec &>(v), &src_array);
       AssertThrow (ierr == 0, ExcPETScError(ierr));
 
-      // then copy:
-      const std::pair<unsigned int, unsigned int> local_elements = local_range ();
-      std::copy (src_array + local_elements.first, src_array + local_elements.second,
+                                       // then copy:
+      const std::pair<unsigned int, unsigned int>
+        local_elements = local_range ();
+      std::copy (src_array + local_elements.first,
+                 src_array + local_elements.second,
                 dest_array);
 
-      // finally restore the arrays
+                                       // finally restore the arrays
       ierr = VecRestoreArray (vector, &dest_array);
       AssertThrow (ierr == 0, ExcPETScError(ierr));
 
@@ -165,5 +169,5 @@ namespace PETScWrappers
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
-  namespace { void dummy () {} }
+namespace { void dummy () {} }
 #endif // DEAL_II_USE_PETSC

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.