Commit 4b6a42a3 authored by Dave Moxey's avatar Dave Moxey
Browse files

Fix aliasing utility

parent 5116b4b4
......@@ -33,9 +33,7 @@ int main(int argc, char *argv[])
EquationSystemSharedPtr EqSys = drv->GetEqu()[0];
IncNavierStokesSharedPtr IncNav = boost::dynamic_pointer_cast
<IncNavierStokes>(EqSys);
IncNavierStokesSharedPtr IncNav = EqSys->as<IncNavierStokes>();
IncNav->SetInitialConditions(0.0,false);
Array<OneD, MultiRegions::ExpListSharedPtr> fields = IncNav->UpdateFields();
......
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