Commit 9df8f2f0 authored by Chris Cantwell's avatar Chris Cantwell

Updates to warning fixes.

parent bda231e3
......@@ -1859,8 +1859,6 @@ namespace Nektar
}
}
ASSERTL1((nummodesA>0)&&(nummodesA>0), "number of modes must be greater than 0");
int i,j;
Array<OneD, int> arrayindx(nFaceIntCoeffs);
......
......@@ -1244,18 +1244,14 @@ namespace Nektar
int nummodesA,
int nummodesB)
{
#if defined(NEKTAR_DEBUG)
const LibUtilities::BasisType bType0 = GetEdgeBasisType(0);
const LibUtilities::BasisType bType1 = GetEdgeBasisType(1);
const LibUtilities::BasisType bType2 = GetEdgeBasisType(4);
#endif
ASSERTL1(bType0 == bType1,
ASSERTL1(GetEdgeBasisType(0) == GetEdgeBasisType(1),
"Method only implemented if BasisType is identical"
"in x and y directions");
ASSERTL1(bType0 == LibUtilities::eModified_A &&
bType2 == LibUtilities::eModified_B,
ASSERTL1(GetEdgeBasisType(0) == LibUtilities::eModified_A &&
GetEdgeBasisType(4) == LibUtilities::eModified_B,
"Method only implemented for Modified_A BasisType"
"(x and y direction) and Modified_B BasisType (z direction)");
"(x and y direction) and Modified_B BasisType (z "
"direction)");
int i, j, p, q, r, nFaceCoeffs, idx = 0;
......
......@@ -920,15 +920,15 @@ namespace Nektar
const int nummodes2 = m_base[2]->GetNumModes();
//int nummodesA, nummodesB, P, Q;
#if defined(NEKTAR_DEBUG)
const LibUtilities::BasisType bType0 = GetEdgeBasisType(0);
const LibUtilities::BasisType bType1 = GetEdgeBasisType(1);
const LibUtilities::BasisType bType2 = GetEdgeBasisType(4);
#endif
ASSERTL1( (bType0==bType1),
"Method only implemented if BasisType is indentical in x and y directions");
ASSERTL1( (bType0==LibUtilities::eModified_A) && (bType1==LibUtilities::eModified_A) && (bType2==LibUtilities::eModified_C),
"Method only implemented for Modified_A BasisType (x and y direction) and Modified_C BasisType (z direction)");
ASSERTL1( GetEdgeBasisType(0) == GetEdgeBasisType(1),
"Method only implemented if BasisType is indentical in "
"x and y directions");
ASSERTL1( GetEdgeBasisType(0) == LibUtilities::eModified_A &&
GetEdgeBasisType(1) == LibUtilities::eModified_A &&
GetEdgeBasisType(4) == LibUtilities::eModified_C,
"Method only implemented for Modified_A BasisType (x "
"and y direction) and Modified_C BasisType (z "
"direction)");
bool isQuad = true;
......
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