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
amdis
amdis-core
Commits
2f398b6b
Commit
2f398b6b
authored
Oct 16, 2018
by
Praetorius, Simon
Browse files
set solution vector to zeros before solve
parent
929db4e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/ProblemStat.inc.hpp
View file @
2f398b6b
...
...
@@ -288,6 +288,7 @@ buildAfterAdapt(AdaptInfo& /*adaptInfo*/, Flag /*flag*/, bool asmMatrix, bool as
// 3. finish matrix insertion and apply dirichlet boundary conditions
systemMatrix_
->
finish
(
asmMatrix
);
rhs_
->
finish
(
asmVector
);
(
*
solution_
)
=
0
;
forEachNode_
(
localView
.
tree
(),
[
&
,
this
](
auto
const
&
rowNode
,
auto
)
{
forEachNode_
(
localView
.
tree
(),
[
&
,
this
](
auto
const
&
colNode
,
auto
)
{
...
...
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