76 time_t starttime, endtime;
79 m_equ[0]->PrintSummary(out);
83 m_equ[0]->DoInitialise();
90 if (
m_comm->GetRank() == 0)
92 CPUtime = difftime(endtime, starttime);
93 cout <<
"-------------------------------------------" << endl;
94 cout <<
"Total Computation Time = " << CPUtime <<
"s" << endl;
95 cout <<
"-------------------------------------------" << endl;
102 for(
int i = 0; i <
m_equ[0]->GetNvariables(); ++i)
104 Array<OneD, NekDouble> exactsoln(
m_equ[0]->GetTotPoints(), 0.0);
107 m_equ[0]->EvaluateExactSolution(i, exactsoln,
108 m_equ[0]->GetFinalTime());
113 if (
m_comm->GetRank() == 0)
115 out <<
"L 2 error (variable " <<
m_equ[0]->GetVariable(i)
116 <<
") : " << vL2Error << endl;
117 out <<
"L inf error (variable " <<
m_equ[0]->GetVariable(i)
118 <<
") : " << vLinfError << endl;