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
Backofen, Rainer
amdis
Commits
32d78a63
Commit
32d78a63
authored
Aug 29, 2012
by
Thomas Witkowski
Browse files
So
parent
d8a17f14
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscSolverFeti.cc
View file @
32d78a63
...
...
@@ -240,9 +240,13 @@ namespace AMDiS {
if
(
enableStokesMode
)
{
MSG
(
"WARNING: MAKE THIS MORE GENERAL!!!!!
\n
"
);
subdomain
->
setCoarseSpaceDofMapping
(
&
primalDofMap
,
0
);
subdomain
->
setCoarseSpaceDofMapping
(
&
interfaceDofMap
,
0
);
// subdomain->setCoarseSpaceDofMapping(&primalDofMap, 0);
subdomain
->
setCoarseSpaceDofMapping
(
&
primalDofMap
,
1
);
subdomain
->
setCoarseSpaceDofMapping
(
&
interfaceDofMap
,
2
);
subdomain
->
setCoarseSpaceDofMapping
(
&
primalDofMap
,
2
);
subdomain
->
setCoarseSpaceDofMapping
(
&
primalDofMap
,
3
);
subdomain
->
setCoarseSpaceDofMapping
(
&
primalDofMap
,
4
);
}
else
{
subdomain
->
setCoarseSpaceDofMapping
(
&
primalDofMap
);
}
...
...
@@ -1556,9 +1560,11 @@ namespace AMDiS {
valuesLocal
.
push_back
(
value
(
*
icursor
));
}
int
rowIndex
=
dualDofMap
.
getLocalMatIndex
(
rowComponent
,
*
cursor
);
MatSetValues
(
mat_duals_duals
,
1
,
&
rowIndex
,
colsLocal
.
size
(),
&
(
colsLocal
[
0
]),
&
(
valuesLocal
[
0
]),
INSERT_VALUES
);
{
int
rowIndex
=
dualDofMap
.
getLocalMatIndex
(
rowComponent
,
*
cursor
);
MatSetValues
(
mat_duals_duals
,
1
,
&
rowIndex
,
colsLocal
.
size
(),
&
(
colsLocal
[
0
]),
&
(
valuesLocal
[
0
]),
INSERT_VALUES
);
}
break
;
...
...
AMDiS/src/parallel/PetscSolverFetiOperators.cc
View file @
32d78a63
...
...
@@ -250,6 +250,7 @@ namespace AMDiS {
yvec
=
y_lagrange
;
VecCopy
(
x_interface
,
y_interface
);
// VecScale(y_interface, 0.2519);
}
else
{
xvec
=
x
;
yvec
=
y
;
...
...
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