Commit fb066b30 authored by Chris Cantwell's avatar Chris Cantwell

Merge branch 'fix/boost_1_55_pulsewave' of /opt/gitlab/repositories/nektar

parents 20a22bb7 eae80617
......@@ -112,7 +112,7 @@ namespace Nektar
if(MeshVertId.count(id) > 0)
{
m_elmtToTrace[i][j] = boost::dynamic_pointer_cast< LocalRegions:: PointExp> ((*trace).GetExp(MeshVertId.find(id)->second));
m_elmtToTrace[i][j] = (*trace).GetExp(MeshVertId.find(id)->second)->as<LocalRegions::PointExp>();
}
else
......
......@@ -254,8 +254,7 @@ namespace Nektar
{
set<int>::iterator it;
LocalRegions::Expansion0DSharedPtr traceEl =
boost::dynamic_pointer_cast<LocalRegions::Expansion0D>(
(m_traceMap->GetElmtToTrace())[n][e]);
m_traceMap->GetElmtToTrace()[n][e]->as<LocalRegions::Expansion0D>();
bool fwd = true;
......@@ -815,8 +814,7 @@ namespace Nektar
{
LocalRegions::Expansion0DSharedPtr vertExp =
boost::dynamic_pointer_cast<
LocalRegions::Expansion0D>(elmtToTrace[i][v]);
elmtToTrace[i][v]->as<LocalRegions::Expansion0D>();
if(vertExp->GetLeftAdjacentElementExp()->GetGeom()->GetGlobalID() != (*m_exp)[i]->GetGeom()->GetGlobalID())
{
......
......@@ -288,7 +288,7 @@ namespace Nektar
{
for(int p = 0; p < 2; ++p)
{
if(boost::dynamic_pointer_cast<LocalRegions::Expansion>(m_vessels[vesselID]->GetTraceMap()->GetElmtToTrace()[n][p])->GetGeom()->GetVid(0) == vid)
if(m_vessels[vesselID]->GetTraceMap()->GetElmtToTrace()[n][p]->as<LocalRegions::Expansion>()->GetGeom()->GetVid(0) == vid)
{
int eid = m_vessels[vesselID]->GetTraceMap()->GetElmtToTrace()[n][p]->GetElmtId();
......
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