Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
9df8f2f0
Commit
9df8f2f0
authored
Apr 04, 2013
by
Chris Cantwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates to warning fixes.
parent
bda231e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
20 deletions
+14
-20
library/StdRegions/StdHexExp.cpp
library/StdRegions/StdHexExp.cpp
+0
-2
library/StdRegions/StdPrismExp.cpp
library/StdRegions/StdPrismExp.cpp
+5
-9
library/StdRegions/StdPyrExp.cpp
library/StdRegions/StdPyrExp.cpp
+9
-9
No files found.
library/StdRegions/StdHexExp.cpp
View file @
9df8f2f0
...
...
@@ -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
);
...
...
library/StdRegions/StdPrismExp.cpp
View file @
9df8f2f0
...
...
@@ -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
(
b
Type
0
==
LibUtilities
::
eModified_A
&&
b
Type
2
==
LibUtilities
::
eModified_B
,
ASSERTL1
(
GetEdgeBasis
Type
(
0
)
==
LibUtilities
::
eModified_A
&&
GetEdgeBasis
Type
(
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
;
...
...
library/StdRegions/StdPyrExp.cpp
View file @
9df8f2f0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment