[cig-commits] r4183 - in long/3D/Gale/trunk/src/Underworld: . plugins/MovingMesh/tests/plugins

walter at geodynamics.org walter at geodynamics.org
Tue Aug 1 01:56:13 PDT 2006


Author: walter
Date: 2006-08-01 01:56:13 -0700 (Tue, 01 Aug 2006)
New Revision: 4183

Modified:
   long/3D/Gale/trunk/src/Underworld/
   long/3D/Gale/trunk/src/Underworld/plugins/MovingMesh/tests/plugins/testMovingMesh.c
Log:
 r432 at earth:  boo | 2006-08-01 01:53:47 -0700
  r412 at earth (orig r283):  PatrickSunter | 2006-07-26 17:31:44 -0700
  Updated the MovingMesh test code to handle change in
  dt calculation approach. Tests now pass again.
  
 



Property changes on: long/3D/Gale/trunk/src/Underworld
___________________________________________________________________
Name: svk:merge
   - 9570c393-cf10-0410-b476-9a651db1e55a:/cig:431
c24a034b-ab11-0410-afe6-cfe714e2959e:/trunk:282
   + 9570c393-cf10-0410-b476-9a651db1e55a:/cig:432
c24a034b-ab11-0410-afe6-cfe714e2959e:/trunk:283

Modified: long/3D/Gale/trunk/src/Underworld/plugins/MovingMesh/tests/plugins/testMovingMesh.c
===================================================================
--- long/3D/Gale/trunk/src/Underworld/plugins/MovingMesh/tests/plugins/testMovingMesh.c	2006-08-01 08:56:10 UTC (rev 4182)
+++ long/3D/Gale/trunk/src/Underworld/plugins/MovingMesh/tests/plugins/testMovingMesh.c	2006-08-01 08:56:13 UTC (rev 4183)
@@ -110,7 +110,9 @@
 	double            velocityLeft;
 	double            velocityRight;
 	double            analyticCoord;
-	double            time                 = context->currentTime;
+	/* Since this test is occuring _after_ time integration using the latest dt, have to add dt on to the
+		total time up to the start of this timestep */
+	double            time                 = context->currentTime + context->dt;
 	Dictionary*       dictionary           = context->dictionary;
 	Stream*           stream               = Journal_Register( Info_Type, CURR_MODULE_NAME );
 	double            tolerance;



More information about the cig-commits mailing list