Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
b1872344
Commit
b1872344
authored
May 18, 2010
by
Thomas Witkowski
Browse files
UMFPACK works now correctly for multiple right hand sides.
parent
7dbb864a
Changes
3
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/FileWriter.cc
View file @
b1872344
...
...
@@ -165,7 +165,7 @@ namespace AMDiS {
bool
(
*
writeElem
)(
ElInfo
*
))
{
FUNCNAME
(
"FileWriter::writeFiles()"
);
if
((
adaptInfo
->
getTimestepNumber
()
%
tsModulo
!=
0
)
&&
!
force
)
return
;
...
...
AMDiS/src/ProblemVec.cc
View file @
b1872344
...
...
@@ -763,11 +763,12 @@ namespace AMDiS {
assembleFlag
);
}
solverMatrix
.
setMatrix
(
*
syste
mMatrix
)
;
createPrecon
();
if
(
as
mMatrix
)
{
solverMatrix
.
setMatrix
(
*
systemMatrix
);
createPrecon
();
INFO
(
info
,
8
)(
"fillin of assembled matrix: %d
\n
"
,
nnz
);
INFO
(
info
,
8
)(
"fillin of assembled matrix: %d
\n
"
,
nnz
);
}
#ifdef _OPENMP
INFO
(
info
,
8
)(
"buildAfterCoarsen needed %.5f seconds system time / %.5f seconds wallclock time
\n
"
,
...
...
AMDiS/src/UmfPackSolver.h
View file @
b1872344
...
...
@@ -86,11 +86,11 @@ namespace AMDiS {
else
solver
=
new
mtl
::
matrix
::
umfpack
::
solver
<
matrix_type
>
(
A
,
UMFPACK_STRATEGY_SYMMETRIC
);
}
else
{
//
if (!multipleRhs)
if
(
!
multipleRhs
)
if
(
store_symbolic
)
solver
->
update_numeric
();
else
solver
->
update
();
solver
->
update
();
}
int
code
=
(
*
solver
)(
x
,
b
);
...
...
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