[cig-commits] commit 2280 by bangerth to /var/svn/dealii/aspect
dealii.demon at gmail.com
dealii.demon at gmail.com
Tue Jan 28 07:49:29 PST 2014
Revision 2280
Put the message that we are resuming from a snapshot at the top of the
function that loads data so that we get to see it first.
U trunk/aspect/source/simulator/checkpoint_restart.cc
http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2280&peg=2280
Diff:
Modified: trunk/aspect/source/simulator/checkpoint_restart.cc
===================================================================
--- trunk/aspect/source/simulator/checkpoint_restart.cc 2014-01-21 18:52:54 UTC (rev 2279)
+++ trunk/aspect/source/simulator/checkpoint_restart.cc 2014-01-28 15:48:49 UTC (rev 2280)
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2011, 2012, 2013 by the authors of the ASPECT code.
+ Copyright (C) 2011, 2012, 2013, 2014 by the authors of the ASPECT code.
This file is part of ASPECT.
@@ -135,6 +135,8 @@
template <int dim>
void Simulator<dim>::resume_from_snapshot()
{
+ pcout << "*** Resuming from snapshot!" << std::endl << std::endl;
+
try
{
triangulation.load ((parameters.output_directory + "restart.mesh").c_str());
@@ -191,8 +193,6 @@
// re-initialize the postprocessors with the current object
postprocess_manager.initialize (*this);
-
- pcout << "*** Resuming from snapshot!" << std::endl << std::endl;
}
}
More information about the CIG-COMMITS
mailing list