[cig-commits] commit: No longer fix resid_y to 0 on boundary

Mercurial hg at geodynamics.org
Fri Feb 10 16:00:17 PST 2012


changeset:   19:e54175da78d8
user:        Walter Landry <wlandry at caltech.edu>
date:        Sun Dec 04 12:09:42 2011 -0800
files:       main.cxx
description:
No longer fix resid_y to 0 on boundary


diff -r 868bc23b3588 -r e54175da78d8 main.cxx
--- a/main.cxx	Sun Dec 04 12:09:25 2011 -0800
+++ b/main.cxx	Sun Dec 04 12:09:42 2011 -0800
@@ -321,8 +321,6 @@ int main()
                           double dRy_dzy=-6/(h*h) + 2*dlog_etayy + dlog_etaxx;
 
                           Resid_y[i][j]=Ry;
-                          if(i==N-1)
-                            Resid_y[i][j]=0;
                           // zy[i][j]-=theta_mom*Ry/dRy_dzy;
                         }
                     }



More information about the CIG-COMMITS mailing list