Commit 7418ec8d authored by Douglas Serson's avatar Douglas Serson

Change missing from previous commit

parent 49cb3421
......@@ -380,13 +380,13 @@ int main(int argc, char* argv[])
// Run field process.
for (int i = 0; i < modules.size(); ++i)
{
if(f->m_verbose && f->m_comm->GetRank() == 0)
if(f->m_verbose && f->m_comm->TreatAsRankZero())
{
moduleTimer.Start();
}
modules[i]->Process(vm);
cout.flush();
if(f->m_verbose && f->m_comm->GetRank() == 0)
if(f->m_verbose && f->m_comm->TreatAsRankZero())
{
moduleTimer.Stop();
NekDouble cpuTime = moduleTimer.TimePerTest(1);
......@@ -401,7 +401,7 @@ int main(int argc, char* argv[])
if(f->m_verbose)
{
if(f->m_comm->GetRank() == 0)
if(f->m_comm->TreatAsRankZero())
{
timer.Stop();
NekDouble cpuTime = timer.TimePerTest(1);
......
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