[cig-commits] commit: More cleanup

Mercurial hg at geodynamics.org
Fri Feb 25 14:16:21 PST 2011


changeset:   77:7fb6c9822763
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed Feb 09 07:04:25 2011 -0800
files:       V_Coarsen.C set_V_boundary.C
description:
More cleanup


diff -r f07bb3d67db8 -r 7fb6c9822763 V_Coarsen.C
--- a/V_Coarsen.C	Wed Feb 09 06:54:44 2011 -0800
+++ b/V_Coarsen.C	Wed Feb 09 07:04:25 2011 -0800
@@ -101,17 +101,13 @@ void SAMRAI::geom::V_Coarsen::coarsen(hi
      case, (i*2,j*2), (i*2,j*2+1), (i*2-1,j*2),
      (i*2-1,j*2+1), (i*2+1,j*2), (i*2+1,j*2+1).
 
-     The boundaries get fixed up later.
+     The coarse/fine boundaries get fixed up later in
+     V_Coarsen_Patch_Strategy::postprocessCoarsen.
   */
   hier::Index ip(1,0), jp(0,1);
    for(int j=coarse_box.lower(1); j<=coarse_box.upper(1)+1; ++j)
      for(int i=coarse_box.lower(0); i<=coarse_box.upper(0)+1; ++i)
        {
-         tbox::plog << "v coarsen "
-                    << coarse.getPatchLevelNumber() << " "
-                    << i << " "
-                    << j << " ";
-
          if(directions(0) && j!=coarse_box.upper(1)+1)
            {
              pdat::SideIndex coarse(hier::Index(i,j),0,
@@ -128,16 +124,6 @@ void SAMRAI::geom::V_Coarsen::coarsen(hi
                {
                  coarsen_v(coarse,ip,jp,v,v_fine);
                }
-             tbox::plog << "vx "
-                        << (*v)(coarse) << " "
-                        << (*v_fine)(center) << " "
-                        << (*v_fine)(center+jp) << " "
-                        << (*v_fine)(center-ip) << " "
-                        << (*v_fine)(center-ip+jp) << " "
-                        << (*v_fine)(center+ip) << " "
-                        << (*v_fine)(center+ip+jp) << " "
-                        << &((*v_fine)(center+ip)) << " ";
-
            }
          if(directions(1) && i!=coarse_box.upper(0)+1)
            {
@@ -155,10 +141,7 @@ void SAMRAI::geom::V_Coarsen::coarsen(hi
                {
                  coarsen_v(coarse,jp,ip,v,v_fine);
                }
-             tbox::plog << "vy "
-                        << (*v)(coarse) << " ";
            }
-         tbox::plog << "\n";
        }
 }
 
diff -r f07bb3d67db8 -r 7fb6c9822763 set_V_boundary.C
--- a/set_V_boundary.C	Wed Feb 09 06:54:44 2011 -0800
+++ b/set_V_boundary.C	Wed Feb 09 07:04:25 2011 -0800
@@ -52,17 +52,6 @@ void set_V_boundary(const SAMRAI::hier::
                   (*v)(pdat::SideIndex(center-jp,pdat::SideIndex::X,
                                        pdat::SideIndex::Lower));
               }
-            // tbox::plog << "V Refine Patch vx "
-            //            << coarse.getPatchLevelNumber() << " "
-            //            << i << " "
-            //            << j << " "
-            //            << (*v)(pdat::SideIndex(center,pdat::SideIndex::X,
-            //                                    pdat::SideIndex::Lower))
-            //            << " "
-            //            << (&(*v)(pdat::SideIndex(center,pdat::SideIndex::X,
-            //                                      pdat::SideIndex::Lower)))
-            //            << " "
-            //            << "\n";
           }
         /* vy */
         if(i<=gbox.upper(0))
@@ -88,17 +77,6 @@ void set_V_boundary(const SAMRAI::hier::
                   (*v)(pdat::SideIndex(center-ip,pdat::SideIndex::Y,
                                        pdat::SideIndex::Lower));
               }
-            // tbox::plog << "V Refine Patch vy "
-            //            << coarse.getPatchLevelNumber() << " "
-            //            << i << " "
-            //            << j << " "
-            //            << (*v)(pdat::SideIndex(center,pdat::SideIndex::Y,
-            //                                    pdat::SideIndex::Lower))
-            //            << " "
-            //            << (&(*v)(pdat::SideIndex(center,pdat::SideIndex::Y,
-            //                                      pdat::SideIndex::Lower)))
-            //            << " "
-            //            << "\n";
           }
       }
 }



More information about the CIG-COMMITS mailing list