Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julia
Nektar
Commits
0f291e39
Commit
0f291e39
authored
Jan 28, 2014
by
Chris Cantwell
Browse files
Fix misplaced WARNINGL2 checks.
parent
8f16a3fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/StdRegions/StdExpansion3D.cpp
View file @
0f291e39
...
...
@@ -146,6 +146,13 @@ namespace Nektar
Array
<
OneD
,
NekDouble
>
eta
=
Array
<
OneD
,
NekDouble
>
(
3
);
Array
<
OneD
,
DNekMatSharedPtr
>
I
(
3
);
WARNINGL2
(
coords
[
0
]
>=
-
1
,
"coord[0] < -1"
);
WARNINGL2
(
coords
[
0
]
<=
1
,
"coord[0] > 1"
);
WARNINGL2
(
coords
[
1
]
>=
-
1
,
"coord[1] < -1"
);
WARNINGL2
(
coords
[
1
]
<=
1
,
"coord[1] > 1"
);
WARNINGL2
(
coords
[
2
]
>=
-
1
,
"coord[2] < -1"
);
WARNINGL2
(
coords
[
2
]
<=
1
,
"coord[2] > 1"
);
// Obtain local collapsed corodinate from
// cartesian coordinate.
LocCoordToLocCollapsed
(
coords
,
eta
);
...
...
@@ -163,12 +170,6 @@ namespace Nektar
const
Array
<
OneD
,
const
NekDouble
>
&
physvals
)
{
NekDouble
value
;
WARNINGL2
(
coords
[
0
]
>=
-
1
,
"coord[0] < -1"
);
WARNINGL2
(
coords
[
0
]
<=
1
,
"coord[0] > 1"
);
WARNINGL2
(
coords
[
1
]
>=
-
1
,
"coord[1] < -1"
);
WARNINGL2
(
coords
[
1
]
<=
1
,
"coord[1] > 1"
);
WARNINGL2
(
coords
[
2
]
>=
-
1
,
"coord[2] < -1"
);
WARNINGL2
(
coords
[
2
]
<=
1
,
"coord[2] > 1"
);
int
Qx
=
m_base
[
0
]
->
GetNumPoints
();
int
Qy
=
m_base
[
1
]
->
GetNumPoints
();
...
...
Write
Preview
Supports
Markdown
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