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

removed redundant m_loadedFields conditional. The case that we try to load a...

removed redundant m_loadedFields conditional. The case that we try to load a non-transient file again is now handled by the
m_loadedFldFields and m_loadedPtsFields logic.
parent 00d78f5d
......@@ -772,17 +772,6 @@ namespace Nektar
else if (vType == LibUtilities::eFunctionTypeFile ||
vType == LibUtilities::eFunctionTypeTransientFile)
{
// check if we already read this pFunctionName + pFieldName
// combination and stop processing if we are dealing with
// a non-timedependent file
std::string loadedKey = pFunctionName + pFieldName;
if (m_loadedFields.count(loadedKey) != 0 &&
vType == LibUtilities::eFunctionTypeFile)
{
return;
}
m_loadedFields.insert(loadedKey);
std::string filename =
m_session->GetFunctionFilename(pFunctionName, pFieldName, domain);
......
......@@ -486,8 +486,6 @@ namespace Nektar
NekDouble m_timestep;
/// Lambda constant in real system if one required.
NekDouble m_lambda;
std::set<std::string> m_loadedFields;
/// Time between checkpoints.
NekDouble m_checktime;
/// Number of checkpoints written so far
......
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