Commit c95cea39 authored by Spencer Sherwin's avatar Spencer Sherwin

Updated to make "Interpolating" statement only be dumped by root

parent 8f6cd3e9
......@@ -209,14 +209,20 @@ namespace Nektar
m_f->m_exp[0]->GetCoords(x1, y1, z1);
}
cout << "Interpolating [" << flush;
if(m_f->m_session->GetComm()->GetRank() == 0)
{
cout << "Interpolating [" << flush;
}
NekDouble clamp_low = m_config["ClampToLowerValue"].as<NekDouble>();
NekDouble clamp_up = m_config["ClampToUpperValue"].as<NekDouble>();
InterpolateField(m_fromField->m_exp, m_f->m_exp,
x1, y1, z1, clamp_low, clamp_up);
cout << "]" << endl;
if(m_f->m_session->GetComm()->GetRank() == 0)
{
cout << "]" << endl;
}
// put field into field data for output
......
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