Commit ea50dbcf authored by mark's avatar mark

ENH: handle deltaT, but not yet deltaT0

parent d13c6849
......@@ -127,7 +127,7 @@ bool Foam::adiosWrite::restart()
<< exit(FatalIOError);
}
Info<<"restart from adios " << adiosTimes[restartIndex_] << endl;
Info<<"Restart from adios " << adiosTimes[restartIndex_] << endl;
adiosTime bpTime = readData(adiosTimes[restartIndex_]);
if (bpTime.valid())
{
......@@ -138,7 +138,9 @@ bool Foam::adiosWrite::restart()
<< t.timeIndex() << endl;
restartIndex_ = bpTime.timeIndex();
// TODO: handle deltaT, deltaT0 etc
// TODO: handle deltaT0 too
t.setDeltaT(bpTime.deltaT(), false);
// pointTime0_ = xxx
}
......
......@@ -44,7 +44,6 @@ Original Author
#ifndef adiosWrite_H
#define adiosWrite_H
#include "adiosCore.H"
#include "adiosReader.H"
#include "adiosCoreWrite.H"
#include "adiosTime.H"
......
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