Commit 3834e6ee authored by frey_m's avatar frey_m
Browse files

Restart: Fix standard output text.

Instead of writing the restart file name of the H5-file, the input file base name
with extension *.h5 was printed to standard output.
parent bb20f319
......@@ -585,7 +585,7 @@ void Distribution::doRestartOpalCycl(PartBunchBase<double, 3> *beam,
double meanE = static_cast<H5PartWrapperForPC*>(dataSource)->getMeanKineticEnergy();
const int globalN = beam->getTotalNum();
INFOMSG("Restart from hdf5 format file " << OpalData::getInstance()->getInputBasename() << ".h5" << endl);
INFOMSG("Restart from hdf5 format file " << OpalData::getInstance()->getRestartFileName() << endl);
INFOMSG("total number of particles = " << globalN << endl);
INFOMSG("* Restart Energy = " << meanE << " (MeV), Path lenght = " << beam->getLPath() << " (m)" << endl);
INFOMSG("Tracking Step since last bunch injection is " << beam->getSteptoLastInj() << endl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment