Commit d58b1ddf authored by Gianmarco Mengaldo's avatar Gianmarco Mengaldo

Minor modifications.

parent ebaec34a
......@@ -485,9 +485,10 @@ namespace Nektar
if (m_cflSafetyFactor > 0.0)
{
cout << "CFL safety factor : " << m_cflSafetyFactor << endl
<< "CFL time-step : " << m_timestep << endl
<< "Time-integration : " << intTime << "s" << endl;
<< "CFL time-step : " << m_timestep << endl;
}
cout << "Time-integration : " << intTime << "s" << endl;
for (x = m_filters.begin(); x != m_filters.end(); ++x)
{
......
......@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
time(&endtime);
// Compute the computational time in hours
CPUtime = (1.0 / 60.0 / 60.0) * difftime(endtime, starttime);
CPUtime = difftime(endtime, starttime);
// Write output to .fld file
equ->Output();
......@@ -85,8 +85,10 @@ int main(int argc, char *argv[])
// Evaluate and output computation time and solution accuracy
if (session->GetComm()->GetRank() == 0)
{
cout << "-------------------------------------------" << endl;
cout << "Total Computation Time = " << CPUtime << " hr." << endl;
cout << "-------------------------------------------" << endl;
cout << "Total Computation Time = " << CPUtime << "s" << endl;
cout << "-------------------------------------------" << endl;
}
for(int i = 0; i < equ->GetNvariables(); ++i)
......
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