39 using namespace Nektar;
40 using namespace Nektar::SolverUtils;
42 int main(
int argc,
char *argv[])
48 time_t starttime, endtime;
59 session->GetSolverInfo(
"EQTYPE"), session);
63 ASSERTL0(e == -1,
"No such solver class defined.");
68 equ->PrintSummary(cout);
76 CPUtime = (1.0/60.0/60.0)*difftime(endtime,starttime);
84 cout <<
"-------------------------------------------" << endl;
85 cout <<
"Total Computation Time = " << CPUtime <<
" hr." << endl;
88 for(
int i = 0; i < equ->GetNvariables(); ++i)
90 cout <<
"L 2 error (variable " << equ->GetVariable(i) <<
"): " << equ->L2Error(i,
true) << endl;
91 cout <<
"L inf error (variable " << equ->GetVariable(i) <<
"): " << equ->LinfError(i) << endl;