[cig-commits] commit: Fix a compile error.

Mercurial hg at geodynamics.org
Fri Feb 25 14:15:45 PST 2011


changeset:   66:6f208af75bc1
user:        Walter Landry <wlandry at caltech.edu>
date:        Mon Jan 24 19:42:29 2011 -0800
files:       V_Boundary_Refine.C
description:
Fix a compile error.


diff -r 5e19536406f3 -r 6f208af75bc1 V_Boundary_Refine.C
--- a/V_Boundary_Refine.C	Mon Jan 24 15:49:47 2011 -0800
+++ b/V_Boundary_Refine.C	Mon Jan 24 19:42:29 2011 -0800
@@ -71,6 +71,9 @@ void SAMRAI::geom::V_Boundary_Refine::re
    hier::Box fine_box=fine.getBox();
    tbox::Pointer<geom::CartesianPatchGeometry>
      geom = coarse.getPatchGeometry();
+
+   double dx = geom->getDx()[0];
+   double dy = geom->getDx()[1];
 
    std::cout << "VBR "
              << fine.getPatchLevelNumber() << " "



More information about the CIG-COMMITS mailing list