[cig-commits] commit: Fix some compile errors

Mercurial hg at geodynamics.org
Tue Apr 26 22:22:07 PDT 2011


changeset:   214:2d92bbe4cb3a
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue Apr 26 22:20:52 2011 -0700
files:       src/P_Boundary_Refine/refine.C src/V_Boundary_Refine/refine.C
description:
Fix some compile errors


diff -r d90a0c3c6ec8 -r 2d92bbe4cb3a src/P_Boundary_Refine/refine.C
--- a/src/P_Boundary_Refine/refine.C	Tue Apr 26 22:17:45 2011 -0700
+++ b/src/P_Boundary_Refine/refine.C	Tue Apr 26 22:20:52 2011 -0700
@@ -1,4 +1,6 @@
 #include "P_Boundary_Refine.h"
+#include "set_boundary.h"
+#include "Constants.h"
 
 void SAMRAI::geom::P_Boundary_Refine::refine(hier::Patch& fine,
                                              const hier::Patch& coarse,
@@ -14,7 +16,6 @@ void SAMRAI::geom::P_Boundary_Refine::re
   const tbox::Dimension& dimension(getDim());
   const int dim(dimension.getValue());
 
-  const int invalid_id(-1);
   set_boundary(coarse,src_component,invalid_id,true);
 
   for (hier::BoxList::Iterator b(boxes); b; b++)
diff -r d90a0c3c6ec8 -r 2d92bbe4cb3a src/V_Boundary_Refine/refine.C
--- a/src/V_Boundary_Refine/refine.C	Tue Apr 26 22:17:45 2011 -0700
+++ b/src/V_Boundary_Refine/refine.C	Tue Apr 26 22:20:52 2011 -0700
@@ -11,6 +11,7 @@
 
 #include "V_Boundary_Refine.h"
 #include "set_boundary.h"
+#include "Constants.h"
 
 void SAMRAI::geom::V_Boundary_Refine::refine(
    hier::Patch& fine,
@@ -25,7 +26,6 @@ void SAMRAI::geom::V_Boundary_Refine::re
 
    TBOX_ASSERT(t_overlap != NULL);
 
-   const int invalid_id(-1);
    set_boundary(coarse,invalid_id,src_component,true);
 
    for(int axis=0; axis<getDim().getValue(); ++axis)



More information about the CIG-COMMITS mailing list