Commit f0708af8 authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

Interpolator: print progress and stats from Equationsystem

parent 46de0668
......@@ -920,6 +920,20 @@ namespace Nektar
{
m_interpolators[interpKey] = SolverUtils::Interpolator(
Nektar::SolverUtils::eShepard);
if (m_comm->GetRank() == 0)
{
m_interpolators[interpKey].SetProgressCallback(
&EquationSystem::PrintProgressbar, this);
}
m_interpolators[interpKey].CalcWeights(ptsField, outPts);
if (m_comm->GetRank() == 0)
{
cout << endl;
if(GetSession()->DefinesCmdLineArgument("verbose"))
{
m_interpolators[interpKey].PrintStatistics();
}
}
}
m_interpolators[interpKey].Interpolate(ptsField, outPts);
......
Supports Markdown
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