Commit 394c9e5b authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Attempt fix of additional warnings raised by 2017 intel compiler.

parent f37bd452
......@@ -75,7 +75,9 @@ namespace Nektar
const int nHomDofs = pNumRows - pNumDir;
DNekVec Vin (nHomDofs, pInput + pNumDir);
DNekVec Vout(nHomDofs, pOutput + pNumDir, eWrapper);
Array<OneD, NekDouble> tmp = pOutput + pNumDir;
DNekVec Vout(nHomDofs, tmp, eWrapper);
m_linSys->Solve(Vin, Vout);
}
......
......@@ -1006,8 +1006,8 @@ namespace Nektar
int nLocBndDofs = m_locToGloMap->GetNumLocalBndCoeffs();
//Non-dirichlet boundary dofs
NekVector<NekDouble> F_HomBnd(nGlobHomBndDofs,pInOut+offset,
eWrapper);
Array<OneD, NekDouble> tmp = pInOut + offset;
NekVector<NekDouble> F_HomBnd(nGlobHomBndDofs, tmp, eWrapper);
//Block transformation matrix
DNekScalBlkMat &R = *m_RBlk;
......@@ -1102,8 +1102,8 @@ namespace Nektar
//Block transposed transformation matrix
DNekScalBlkMat &RT = *m_RTBlk;
NekVector<NekDouble> V_GlobHomBnd(nGlobHomBndDofs,pInOut+nDirBndDofs,
eWrapper);
Array<OneD, NekDouble> tmp = pInOut + nDirBndDofs;
NekVector<NekDouble> V_GlobHomBnd(nGlobHomBndDofs, tmp, eWrapper);
Array<OneD, NekDouble> pLocal(nLocBndDofs, 0.0);
NekVector<NekDouble> V_LocBnd(nLocBndDofs,pLocal,eWrapper);
......
......@@ -219,14 +219,15 @@ void IterativeElasticSystem::WriteGeometry(const int i)
{
s << "_xml";
if(!fs::is_directory(s.str()))
string ss = s.str();
if(!fs::is_directory(ss))
{
fs::create_directory(s.str());
fs::create_directory(ss);
}
boost::format pad("P%1$07d.xml");
pad % m_session->GetComm()->GetRank();
filename = fs::path(s.str()) / fs::path(pad.str());
filename = fs::path(ss) / fs::path(pad.str());
}
else
{
......
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