[cig-commits] r22322 - seismo/3D/SPECFEM3D_GLOBE/branches/undo_att/src/specfem3D

xie.zhinan at geodynamics.org xie.zhinan at geodynamics.org
Sun Jun 16 00:29:51 PDT 2013


Author: xie.zhinan
Date: 2013-06-16 00:29:51 -0700 (Sun, 16 Jun 2013)
New Revision: 22322

Modified:
   seismo/3D/SPECFEM3D_GLOBE/branches/undo_att/src/specfem3D/compute_forces_inner_core_Dev.F90
Log:
fix one error arise in misdelete one temp variable


Modified: seismo/3D/SPECFEM3D_GLOBE/branches/undo_att/src/specfem3D/compute_forces_inner_core_Dev.F90
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/branches/undo_att/src/specfem3D/compute_forces_inner_core_Dev.F90	2013-06-16 07:21:00 UTC (rev 22321)
+++ seismo/3D/SPECFEM3D_GLOBE/branches/undo_att/src/specfem3D/compute_forces_inner_core_Dev.F90	2013-06-16 07:29:51 UTC (rev 22322)
@@ -236,6 +236,8 @@
   integer NSPEC2D_BOTTOM_INNER_CORE
   integer, dimension(NSPEC2D_BOTTOM_INNER_CORE) :: ibelm_bottom_inner_core
 
+  real(kind=CUSTOM_REAL) templ
+
 ! ****************************************************
 !   big loop over all spectral elements in the solid
 ! ****************************************************
@@ -406,13 +408,7 @@
             duzdyl_plus_duydzl = duzdyl + duydzl
 
             if (COMPUTE_AND_STORE_STRAIN) then
-              if(NSPEC_INNER_CORE_STRAIN_ONLY == 1) then
-                ispec_strain = 1
-              else
-                ispec_strain = ispec
-              endif
               templ = ONE_THIRD * (duxdxl + duydyl + duzdzl)
-              epsilon_trace_over_3(i,j,k,ispec_strain) = templ
               epsilondev_loc(1,i,j,k) = duxdxl - templ
               epsilondev_loc(2,i,j,k) = duydyl - templ
               epsilondev_loc(3,i,j,k) = 0.5 * duxdyl_plus_duydxl



More information about the CIG-COMMITS mailing list