Commit 9c904370 authored by David Moxey's avatar David Moxey

Fixes to documentation, add small fix to remove field for parallel execution

parent dab6a417
......@@ -544,10 +544,10 @@ Components of the \nekpp package can be selected using the following options:
\item \inlsh{NEKTAR\_DISABLE\_BACKUPS}
By default, Nektar++ solvers and the FieldConvert utility will not overwrite
any generated field files or output files if it finds an existing file with
the same name. Instead, the existing file will be either moving to a backup
any generated field files or output files they find an existing file with
the same name. Instead, the existing file will be either moved to a backup
file or you will be prompted to overwrite them. If you do not want this
behaviour, then disabling this option will cause all pre-existing output to
behaviour, then enabling this option will cause all pre-existing output to
be overwritten silently.
\item \inlsh{NEKTAR\_SOLVER\_X}
......
......@@ -84,7 +84,10 @@ void ProcessRemoveField::Process(po::variables_map &vm)
m_f->m_variables.erase(it);
m_f->m_exp.erase(m_f->m_exp.begin() + fieldID);
cout << "Field " << fieldName[i] << " has been erased" << endl;
if (m_f->m_comm->TreatAsRankZero())
{
cout << "Field " << fieldName[i] << " has been erased" << endl;
}
}
}
} // namespace FieldUtils
......
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