Skip to content
GitLab
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
e9e5e487
Commit
e9e5e487
authored
Oct 09, 2012
by
Thomas Witkowski
Browse files
Fixed small problem
parent
c21d2182
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscSolverFeti.cc
View file @
e9e5e487
...
...
@@ -1928,7 +1928,7 @@ namespace AMDiS {
MatMult
(
mat_lagrange
,
tmp_b0
,
tmp_lagrange
);
}
else
{
Vec
tmp_mu
;
MatGetVecs
(
mat_augmented_lagrange
,
PETSC_NULL
,
&
tmp_mu
);
MatGetVecs
(
mat_augmented_lagrange
,
&
tmp_mu
,
PETSC_NULL
);
Vec
vec_array
[
2
]
=
{
tmp_primal0
,
tmp_mu
};
Vec
vec_nest
;
VecCreateNest
(
PETSC_COMM_WORLD
,
2
,
PETSC_NULL
,
vec_array
,
&
vec_nest
);
...
...
AMDiS/src/parallel/PetscSolverFetiOperators.cc
View file @
e9e5e487
...
...
@@ -135,7 +135,7 @@ namespace AMDiS {
FetiData
*
data
=
static_cast
<
FetiData
*>
(
ctx
);
Vec
vec_mu0
,
vec_mu1
;
MatGetVecs
(
*
(
data
->
mat_augmented_lagrange
),
PETSC_NULL
,
&
vec_mu0
);
MatGetVecs
(
*
(
data
->
mat_augmented_lagrange
),
&
vec_mu0
,
PETSC_NULL
);
VecDuplicate
(
vec_mu0
,
&
vec_mu1
);
MatMultTranspose
(
*
(
data
->
mat_lagrange
),
x
,
data
->
tmp_vec_b0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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