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
Nektar
Nektar
Commits
0b077caa
Commit
0b077caa
authored
Nov 16, 2012
by
Chris Cantwell
Browse files
Fixed compile error due to function parameter changes in master.
Added initialization of interiorMap arrays on 3D elements if needed.
parent
50dc5bf9
Changes
4
Hide whitespace changes
Inline
Side-by-side
library/MultiRegions/GlobalLinSysXxtFull.cpp
View file @
0b077caa
...
...
@@ -111,7 +111,7 @@ namespace Nektar
m_expList
.
lock
()
->
GeneralMatrixOp
(
m_linSysKey
,
pOutput
,
tmp
,
true
);
pOutput
,
tmp
,
eGlobal
);
Vmath
::
Vsub
(
nGlobDofs
,
pInput
.
get
(),
1
,
tmp
.
get
(),
1
,
...
...
library/StdRegions/StdHexExp.cpp
View file @
0b077caa
...
...
@@ -2180,7 +2180,7 @@ namespace Nektar
int
nIntCoeffs
=
m_ncoeffs
-
NumBndryCoeffs
();
if
(
outarray
.
num_elements
()
!=
nIntCoeffs
)
if
(
outarray
.
num_elements
()
!=
nIntCoeffs
)
{
outarray
=
Array
<
OneD
,
unsigned
int
>
(
nIntCoeffs
);
}
...
...
library/StdRegions/StdPrismExp.cpp
View file @
0b077caa
...
...
@@ -1816,6 +1816,14 @@ namespace Nektar
int
P
=
m_base
[
0
]
->
GetNumModes
()
-
1
,
p
;
int
Q
=
m_base
[
1
]
->
GetNumModes
()
-
1
,
q
;
int
R
=
m_base
[
2
]
->
GetNumModes
()
-
1
,
r
;
int
nIntCoeffs
=
m_ncoeffs
-
NumBndryCoeffs
();
if
(
outarray
.
num_elements
()
!=
nIntCoeffs
)
{
outarray
=
Array
<
OneD
,
unsigned
int
>
(
nIntCoeffs
);
}
int
idx
=
0
;
// Loop over all interior modes.
...
...
library/StdRegions/StdTetExp.cpp
View file @
0b077caa
...
...
@@ -1898,6 +1898,13 @@ namespace Nektar
int
Q
=
m_base
[
1
]
->
GetNumModes
();
int
R
=
m_base
[
2
]
->
GetNumModes
();
int
nIntCoeffs
=
m_ncoeffs
-
NumBndryCoeffs
();
if
(
outarray
.
num_elements
()
!=
nIntCoeffs
)
{
outarray
=
Array
<
OneD
,
unsigned
int
>
(
nIntCoeffs
);
}
int
idx
=
0
;
for
(
int
i
=
2
;
i
<
P
-
2
;
++
i
)
{
...
...
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