[cig-commits] commit: Fix a bug in V_Refine in 3D

Mercurial hg at geodynamics.org
Sun Apr 17 19:42:42 PDT 2011


changeset:   174:12cf79cdad75
user:        Walter Landry <wlandry at caltech.edu>
date:        Sun Apr 17 19:40:30 2011 -0700
files:       V_Refine.C
description:
Fix a bug in V_Refine in 3D


diff -r b6ae952233b7 -r 12cf79cdad75 V_Refine.C
--- a/V_Refine.C	Sat Apr 16 23:07:29 2011 -0700
+++ b/V_Refine.C	Sun Apr 17 19:40:30 2011 -0700
@@ -80,7 +80,7 @@ void SAMRAI::geom::V_Refine::refine(hier
    ip[0]=1;
    jp[1]=1;
    if(dim>2)
-     kp[2]=2;
+     kp[2]=1;
    hier::Index pp[]={ip,jp,kp};
 
    for(pdat::CellIterator ci(fine_box); ci; ci++)



More information about the CIG-COMMITS mailing list