[cig-commits] commit: Get rid of check for dt=0 in SurfaceProcess. dt=0 was caused by restarting and immediately advecting. That call to advect was removed in this case in AbstractContext

Mercurial hg at geodynamics.org
Thu Oct 27 18:15:26 PDT 2011


changeset:   907:acdb8f26f637
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Thu Oct 27 18:13:48 2011 -0700
files:       plugins/SurfaceProcess/SurfaceProcess.cxx
description:
Get rid of check for dt=0 in SurfaceProcess.  dt=0 was caused by restarting and immediately advecting.  That call to advect was removed in this case in AbstractContext


diff -r 97edb6153b5b -r acdb8f26f637 plugins/SurfaceProcess/SurfaceProcess.cxx
--- a/plugins/SurfaceProcess/SurfaceProcess.cxx	Thu Oct 27 17:58:50 2011 -0700
+++ b/plugins/SurfaceProcess/SurfaceProcess.cxx	Thu Oct 27 18:13:48 2011 -0700
@@ -70,8 +70,6 @@ void Underworld_SurfaceProcess_Execute( 
   assert( spCtx );
   
   dt = spCtx->ctx->dt;
-  if(dt==0.0)
-    return;
 
   mesh=spCtx->mesh;
   velocity=spCtx->v;



More information about the CIG-COMMITS mailing list