[cig-commits] commit: Use a t=Number<1> rather than "1" to clarify that we are using the

Mercurial hg at geodynamics.org
Wed Mar 28 02:44:29 PDT 2012


changeset:   125:045f5d7030f2
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed Mar 28 02:44:07 2012 -0700
files:       compute_jumps.cxx
description:
Use a t=Number<1> rather than "1" to clarify that we are using the
tangential component.


diff -r a659d92e837f -r 045f5d7030f2 compute_jumps.cxx
--- a/compute_jumps.cxx	Tue Mar 27 16:14:49 2012 -0700
+++ b/compute_jumps.cxx	Wed Mar 28 02:44:07 2012 -0700
@@ -23,7 +23,7 @@ void compute_jumps(const double &eta_jum
   dz_jump(a,n)=-eta_jump*dv(b)*ddel(a,b);
   dz_jump(a,t)=eta_jump*dv(a);
 
-  p_jump=-2*eta_jump*dv(1);
+  p_jump=-2*eta_jump*dv(t);
 
   /* TODO: dp_jump and ddz_jump both need to be corrected for
      curvature and density jumps. */



More information about the CIG-COMMITS mailing list