Commit 6e3d43e2 authored by Dave Moxey's avatar Dave Moxey

Merge branch 'feature/cx2-boost-fixes' of /opt/gitlab/repositories/nektar

parents a580f8c0 89bcb74f
......@@ -30,7 +30,7 @@ IF (THIRDPARTY_BUILD_BOOST)
URL_MD5 "d6eef4b4cacb2183f2bf265a5a03a354"
STAMP_DIR ${TPSRC}/stamp
DOWNLOAD_DIR ${TPSRC}
SOURCE_DIR ${TPSRC}/boost
SOURCE_DIR ${TPBUILD}/boost
BINARY_DIR ${TPBUILD}/boost
TMP_DIR ${TPBUILD}/boost-tmp
INSTALL_DIR ${TPDIST}
......
......@@ -1054,9 +1054,7 @@ namespace Nektar
for (i = 0; i < m_exp->size(); ++i)
{
LocalRegions::Expansion1DSharedPtr loc_exp =
boost::dynamic_pointer_cast<
LocalRegions::Expansion1D>((*m_exp)[i]);
LocalRegions::Expansion1DSharedPtr loc_exp = (*m_exp)[i]->as<LocalRegions::Expansion1D>();
LocalRegions::Expansion2DSharedPtr loc_elmt =
loc_exp->GetLeftAdjacentElementExp();
......
......@@ -949,9 +949,7 @@ namespace Nektar
{
int e_npoints = (*m_exp)[i]->GetTotPoints();
LocalRegions::Expansion2DSharedPtr loc_exp =
boost::dynamic_pointer_cast<
LocalRegions::Expansion2D>((*m_exp)[i]);
LocalRegions::Expansion2DSharedPtr loc_exp = (*m_exp)[i]->as<LocalRegions::Expansion2D>();
LocalRegions::Expansion3DSharedPtr loc_elmt =
loc_exp->GetLeftAdjacentElementExp();
int faceNumber = loc_exp->GetLeftAdjacentElementFace();
......
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