[cig-commits] commit: Fix an x->y typo

Mercurial hg at geodynamics.org
Tue Mar 20 14:53:51 PDT 2012


changeset:   97:ef9ff9eaa828
user:        Walter Landry <wlandry at caltech.edu>
date:        Mon Mar 19 14:52:28 2012 -0700
files:       compute_v_on_interface/compute_v_on_interface.cxx
description:
Fix an x->y typo


diff -r 5adaedce245c -r ef9ff9eaa828 compute_v_on_interface/compute_v_on_interface.cxx
--- a/compute_v_on_interface/compute_v_on_interface.cxx	Mon Mar 19 14:25:43 2012 -0700
+++ b/compute_v_on_interface/compute_v_on_interface.cxx	Mon Mar 19 14:52:28 2012 -0700
@@ -169,7 +169,7 @@ void compute_v_on_interface(const double
   if(xyz==0)
     {
       FTensor::Tensor1<double,2> norm, tangent;
-      norm(0)=((distx[iy+1][jy] - disty[iy][jy])*(h-dx_j)
+      norm(0)=((disty[iy+1][jy] - disty[iy][jy])*(h-dx_j)
                + (disty[iy+2][jy] - disty[iy+1][jy])*dx_j)/(h*h);
       norm(1)=((disty[iy][jy+1] - disty[iy][jy])*(h-dx_j)
                + (disty[iy+1][jy+1] - disty[iy+1][jy])*dx_j)/(h*h);



More information about the CIG-COMMITS mailing list