Commit a8284761 authored by Douglas Serson's avatar Douglas Serson

Fix coordim in collections

parent 145f4426
......@@ -315,7 +315,7 @@ class IProductWRTDerivBase_IterPerExp : public Operator
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_dim = PtsKey.size();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
int nqtot = m_stdExp->GetTotPoints();
......@@ -602,7 +602,7 @@ class IProductWRTDerivBase_SumFac_Quad : public Operator
{
Vmath::Vmul (ntot,m_derivFac[i],1, in[0],1,
tmp[i],1);
for(int j = 1; j < m_coordim; ++j)
for(int j = 1; j < 2; ++j)
{
Vmath::Vvtvp (ntot,m_derivFac[i +j*2],1,
in[j],1, tmp[i], 1, tmp[i],1);
......@@ -667,7 +667,7 @@ class IProductWRTDerivBase_SumFac_Quad : public Operator
m_derbase1(m_stdExp->GetBasis(1)->GetDbdata())
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
m_jac = pGeomData->GetJacWithStdWeights(pCollExp);
......@@ -753,7 +753,7 @@ class IProductWRTDerivBase_SumFac_Tri : public Operator
{
Vmath::Vmul (ntot,m_derivFac[i],1, in[0],1, tmp[i],1);
for(int j = 1; j < m_coordim; ++j)
for(int j = 1; j < 2; ++j)
{
Vmath::Vvtvp (ntot,m_derivFac[i +j*2],1,
in[j],1, tmp[i], 1, tmp[i],1);
......@@ -829,7 +829,7 @@ class IProductWRTDerivBase_SumFac_Tri : public Operator
m_derbase1(m_stdExp->GetBasis(1)->GetDbdata())
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
m_jac = pGeomData->GetJacWithStdWeights(pCollExp);
......
......@@ -156,7 +156,7 @@ class PhysDeriv_StdMat : public Operator
int nqtot = 1;
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_dim = PtsKey.size();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
for(int i = 0; i < m_dim; ++i)
{
......@@ -326,7 +326,7 @@ class PhysDeriv_IterPerExp : public Operator
int nqtot = 1;
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_dim = PtsKey.size();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
for(int i = 0; i < m_dim; ++i)
{
......@@ -582,7 +582,7 @@ class PhysDeriv_SumFac_Seg : public Operator
m_nquad0 (m_stdExp->GetNumPoints(0))
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
......@@ -712,7 +712,7 @@ class PhysDeriv_SumFac_Quad : public Operator
m_nquad1 (m_stdExp->GetNumPoints(1))
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
......@@ -864,7 +864,7 @@ class PhysDeriv_SumFac_Tri : public Operator
m_nquad1 (m_stdExp->GetNumPoints(1))
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
......@@ -1046,7 +1046,7 @@ class PhysDeriv_SumFac_Hex : public Operator
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
......@@ -1274,7 +1274,7 @@ class PhysDeriv_SumFac_Tet : public Operator
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
......@@ -1488,7 +1488,7 @@ class PhysDeriv_SumFac_Prism : public Operator
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
......@@ -1705,7 +1705,7 @@ class PhysDeriv_SumFac_Pyr : public Operator
{
LibUtilities::PointsKeyVector PtsKey = m_stdExp->GetPointsKeys();
m_coordim = m_stdExp->GetCoordim();
m_coordim = pCollExp[0]->GetCoordim();
m_derivFac = pGeomData->GetDerivFactors(pCollExp);
......
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