[cig-commits] commit: Fix a bug in offsets for v_rhs input

Mercurial hg at geodynamics.org
Mon May 2 20:31:26 PDT 2011


changeset:   230:d169949d507e
user:        Walter Landry <wlandry at caltech.edu>
date:        Mon May 02 20:11:44 2011 -0700
files:       src/FACStokes/initializeLevelData.C
description:
Fix a bug in offsets for v_rhs input


diff -r 9f5ef593327d -r d169949d507e src/FACStokes/initializeLevelData.C
--- a/src/FACStokes/initializeLevelData.C	Mon May 02 12:37:35 2011 -0700
+++ b/src/FACStokes/initializeLevelData.C	Mon May 02 20:11:44 2011 -0700
@@ -109,8 +109,8 @@ void SAMRAI::FACStokes::initializeLevelD
         int ix_offset(0);
         for(int ix=0;ix<dim;++ix)
           {
-            double offset[]={0,0,0};
-            offset[ix]=0.5;
+            double offset[]={0.5,0.5,0.5};
+            offset[ix]=0;
 
             for(pdat::SideIterator si(pbox,ix); si; si++)
               {



More information about the CIG-COMMITS mailing list