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
Aland, Sebastian
amdis
Commits
6d1207b9
Commit
6d1207b9
authored
Sep 28, 2012
by
Thomas Witkowski
Browse files
Fixed KSP monitor name.
parent
b48c8d0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscSolverFeti.cc
View file @
6d1207b9
...
...
@@ -845,7 +845,7 @@ namespace AMDiS {
KSPSetTolerances
(
ksp_feti
,
0
,
1e-8
,
1e+3
,
1000
);
KSPSetFromOptions
(
ksp_feti
);
if
(
stokesMode
)
KSPMonitorSet
(
ksp_feti
,
KSPMonitorFeti
,
&
fetiKspData
,
PETSC_NULL
);
KSPMonitorSet
(
ksp_feti
,
KSPMonitorFeti
Stokes
,
&
fetiKspData
,
PETSC_NULL
);
...
...
AMDiS/src/parallel/PetscSolverFetiMonitor.cc
View file @
6d1207b9
...
...
@@ -15,7 +15,7 @@
namespace
AMDiS
{
PetscErrorCode
KSPMonitorFeti
(
KSP
ksp
,
PetscInt
n
,
PetscReal
rnorm
,
void
*
data
)
PetscErrorCode
KSPMonitorFeti
Stokes
(
KSP
ksp
,
PetscInt
n
,
PetscReal
rnorm
,
void
*
data
)
{
Vec
Br
,
v
,
w
;
VecDuplicate
(
static_cast
<
FetiKspData
*>
(
data
)
->
draft
,
&
v
);
...
...
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