[cig-commits] commit: Remove a bunch of cout's

Mercurial hg at geodynamics.org
Fri Feb 10 16:00:35 PST 2012


changeset:   35:d818fb4febda
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed Feb 08 01:35:41 2012 -0800
files:       compute_v_on_interface.cxx
description:
Remove a bunch of cout's


diff -r 5ff9d2d33d51 -r d818fb4febda compute_v_on_interface.cxx
--- a/compute_v_on_interface.cxx	Wed Feb 08 01:34:46 2012 -0800
+++ b/compute_v_on_interface.cxx	Wed Feb 08 01:35:41 2012 -0800
@@ -156,16 +156,6 @@ void compute_v_on_interface(double zx[N+
             error=
               std::max(error,std::fabs((vx[i+2]-temp)
                                        /(std::fabs(vx[i+2])+std::fabs(temp))));
-          if(i<7)
-            std::cout << "vx error "
-                      << i << " "
-                      << vx[i+2] << " "
-                      << dvx_y[i] << " "
-                      << dvx_yy[i] << " "
-                      << temp << " "
-                      << error << " "
-                      << "\n";
-
           vx[i+2]=(1-relax)*vx[i+2] + relax*temp;
         }
       // vx[0]=vx[3];
@@ -192,23 +182,8 @@ void compute_v_on_interface(double zx[N+
               std::max(error,std::fabs((vy[i]-temp)
                                        /(std::fabs(vy[i])+std::fabs(temp))));
 
-          if(i<4)
-            std::cout << "vy error "
-                      << i << " "
-                      << vy[i] << " "
-                      << dvy_y[i] << " "
-                      << dvy_yy[i] << " "
-                      << temp << " "
-                      << std::fabs((vy[i]-temp)
-                                   /(std::fabs(vy[i])+std::fabs(temp))) << " "
-                      << error << " "
-                      << "\n";
-
           vy[i]=(1-relax)*vy[i] + relax*temp;
         }
-      std::cout << "error "
-                << error << " "
-                << "\n";
     }
   while (error>tolerance);
 }



More information about the CIG-COMMITS mailing list