[cig-commits] commit: Make V_Coarsen require a stencil

Mercurial hg at geodynamics.org
Tue May 3 16:19:47 PDT 2011


changeset:   236:c8d3c31442a9
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue May 03 15:23:01 2011 -0700
files:       src/V_Coarsen.h
description:
Make V_Coarsen require a stencil


diff -r 8d72186c3560 -r c8d3c31442a9 src/V_Coarsen.h
--- a/src/V_Coarsen.h	Tue May 03 14:32:53 2011 -0700
+++ b/src/V_Coarsen.h	Tue May 03 15:23:01 2011 -0700
@@ -94,13 +94,9 @@ public:
     return 0;
   }
 
-  /**
-   * The stencil width of the weighted averaging operator is the vector of
-   * zeros.  That is, its stencil does not extend outside the fine box.
-   */
   hier::IntVector getStencilWidth() const
   {
-    return hier::IntVector::getZero(getDim());
+    return hier::IntVector::getOne(getDim());
   }
 
   /**



More information about the CIG-COMMITS mailing list