Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gregor.olenik
OGL
Commits
a7bc2afe
Commit
a7bc2afe
authored
Apr 17, 2021
by
Gregor Olenik
Browse files
fix type of tmp_col_idxs and tmp_row_idxs
parent
ec0319f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
lduMatrix/GKOlduBase/GKOlduBase.H
View file @
a7bc2afe
...
...
@@ -230,8 +230,8 @@ public:
void
sort_GKOMatrix
()
const
{
std
::
vector
<
scalar
>
tmp_values
(
nElems
());
std
::
vector
<
scalar
>
tmp_col_idxs
(
nElems
());
std
::
vector
<
scalar
>
tmp_row_idxs
(
nElems
());
std
::
vector
<
label
>
tmp_col_idxs
(
nElems
());
std
::
vector
<
label
>
tmp_row_idxs
(
nElems
());
for
(
label
i
=
0
;
i
<
nElems
();
i
++
)
tmp_values
[
i
]
=
values_
[
i
];
for
(
label
i
=
0
;
i
<
nElems
();
i
++
)
tmp_col_idxs
[
i
]
=
col_idxs_
[
i
];
...
...
@@ -323,8 +323,8 @@ public:
}
if
(
get_export
())
export_system
(
fieldName
(),
gko
::
lend
(
gkomatrix
),
gko
::
lend
(
x
),
gko
::
lend
(
b
));
export_system
(
fieldName
(),
gko
::
lend
(
gkomatrix
),
gko
::
lend
(
x
),
gko
::
lend
(
b
));
solverPerf
.
initialResidual
()
=
compute_residual
(
...
...
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