Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
2324dd28
Commit
2324dd28
authored
Mar 30, 2020
by
Dennis Gläser
Committed by
Timo Koch
Apr 02, 2020
Browse files
[cclocalassembler] fix numeric assembly with explicit time disc scheme
(cherry picked from commit
fe70d33f
)
parent
0d6fb00c
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/assembly/cclocalassembler.hh
View file @
2324dd28
...
...
@@ -344,7 +344,7 @@ public:
// assemble the undeflected residual
const
auto
residual
=
this
->
evalLocalResidual
()[
0
];
const
auto
storageResidual
=
this
->
evalLocalStorageResidual
();
const
auto
storageResidual
=
this
->
evalLocalStorageResidual
()
[
0
]
;
//////////////////////////////////////////////////////////////////////////////////////////////////
// Calculate derivatives of all dofs in stencil with respect to the dofs in the element. In the //
...
...
@@ -386,7 +386,7 @@ public:
// the residual with the deflected primary variables
elemSol
[
0
][
pvIdx
]
=
priVar
;
curVolVars
.
update
(
elemSol
,
this
->
problem
(),
element
,
scv
);
return
this
->
evalLocalStorageResidual
();
return
this
->
evalLocalStorageResidual
()
[
0
]
;
};
// for non-ghosts compute the derivative numerically
...
...
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