[cig-commits] r1380 - trunk/aspect/source/postprocess
heien at dealii.org
heien at dealii.org
Tue Nov 20 13:15:36 PST 2012
Author: heien
Date: 2012-11-20 14:15:34 -0700 (Tue, 20 Nov 2012)
New Revision: 1380
Modified:
trunk/aspect/source/postprocess/tracer.cc
Log:
Change tracer output order
Modified: trunk/aspect/source/postprocess/tracer.cc
===================================================================
--- trunk/aspect/source/postprocess/tracer.cc 2012-11-19 17:23:16 UTC (rev 1379)
+++ trunk/aspect/source/postprocess/tracer.cc 2012-11-20 21:15:34 UTC (rev 1380)
@@ -94,9 +94,6 @@
_initialized = true;
}
- // Advance the particles in the world by the current timestep
- _world.advance_timestep(this->get_timestep(), this->get_solution());
-
// If it's time to generate an output file, call the appropriate functions and reset the timer
if (this->get_time() >= _next_data_output_time)
{
@@ -106,6 +103,9 @@
}
if (output_data) result_string += " Wrote particle data: " + data_file_name + ".";
+ // Advance the particles in the world by the current timestep
+ _world.advance_timestep(this->get_timestep(), this->get_solution());
+
return std::make_pair("Advecting particles...", result_string);
}
More information about the CIG-COMMITS
mailing list