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
0b2d2a12
Commit
0b2d2a12
authored
Jul 21, 2009
by
Thomas Witkowski
Browse files
Work on pdd.
parent
fec8463a
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/ProblemVec.cc
View file @
0b2d2a12
...
...
@@ -323,14 +323,15 @@ namespace AMDiS {
std
::
string
numberedName
=
""
;
for
(
int
i
=
0
;
i
<
nComponents
;
i
++
)
{
(
*
systemMatrix
)[
i
][
i
]
=
new
DOFMatrix
(
componentSpaces
[
i
],
componentSpaces
[
i
],
"A_ii"
);
componentSpaces
[
i
],
"A_ii"
);
(
*
systemMatrix
)[
i
][
i
]
->
setCoupleMatrix
(
false
);
sprintf
(
number
,
"[%d]"
,
i
);
numberedName
=
"rhs"
+
std
::
string
(
number
);
rhs
->
setDOFVector
(
i
,
new
DOFVector
<
double
>
(
componentSpaces
[
i
],
numberedName
));
numberedName
=
name
+
std
::
string
(
number
);
solution
->
setDOFVector
(
i
,
new
DOFVector
<
double
>
(
componentSpaces
[
i
],
numberedName
));
solution
->
setDOFVector
(
i
,
new
DOFVector
<
double
>
(
componentSpaces
[
i
],
numberedName
));
solution
->
getDOFVector
(
i
)
->
setCoarsenOperation
(
COARSE_INTERPOL
);
solution
->
getDOFVector
(
i
)
->
set
(
0.0
);
}
...
...
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