Commit 47714371 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Merge branch 'fix/icc-dynamic-again' into 'master'

Another fix for ICC

This MR follows on from !414 to fix the same issue in the VWI solver.

See merge request !416
parents a342adfc 8ddf1a3f
......@@ -400,7 +400,7 @@ namespace Nektar
Vmath::Smul(npoints,m_rollForceScale,m_vwiForcingObj->UpdateForces()[i],1,m_vwiForcingObj->UpdateForces()[i],1);
}
IncNavierStokesSharedPtr ins = boost::dynamic_pointer_cast<IncNavierStokes>(m_solverRoll);
IncNavierStokesSharedPtr ins = m_solverRoll->as<IncNavierStokes>();
ins->AddForcing(m_vwiForcingObj);
init = 0;
......
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