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
ac15ef92
Commit
ac15ef92
authored
Dec 11, 2018
by
Dennis Gläser
Committed by
Timo Koch
Dec 20, 2018
Browse files
[md][cclocalassembler] update both local&global flux var cache
parent
fafa89ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/multidomain/subdomaincclocalassembler.hh
View file @
ac15ef92
...
...
@@ -380,10 +380,9 @@ public:
elemSol
[
0
][
pvIdx
]
=
priVar
;
this
->
couplingManager
().
updateCouplingContext
(
domainI
,
*
this
,
domainI
,
globalI
,
elemSol
[
0
],
pvIdx
);
curVolVars
.
update
(
elemSol
,
this
->
problem
(),
element
,
scv
);
elemFluxVarsCache
.
update
(
element
,
fvGeometry
,
curElemVolVars
);
if
(
enableGridFluxVarsCache
)
gridVariables
.
gridFluxVarsCache
().
updateElement
(
element
,
fvGeometry
,
curElemVolVars
);
else
elemFluxVarsCache
.
update
(
element
,
fvGeometry
,
curElemVolVars
);
// calculate the residual with the deflected primary variables
if
(
!
this
->
elementIsGhost
())
partialDerivsTmp
[
0
]
=
this
->
evalLocalResidual
()[
0
];
...
...
@@ -476,9 +475,15 @@ public:
if
(
enableGridFluxVarsCache
)
{
if
(
enableGridVolVarsCache
)
{
this
->
couplingManager
().
updateCoupledVariables
(
domainI
,
*
this
,
gridVariables
.
curGridVolVars
(),
gridVariables
.
gridFluxVarsCache
());
this
->
couplingManager
().
updateCoupledVariables
(
domainI
,
*
this
,
gridVariables
.
curGridVolVars
(),
elemFluxVarsCache
);
}
else
{
this
->
couplingManager
().
updateCoupledVariables
(
domainI
,
*
this
,
curElemVolVars
,
gridVariables
.
gridFluxVarsCache
());
this
->
couplingManager
().
updateCoupledVariables
(
domainI
,
*
this
,
curElemVolVars
,
elemFluxVarsCache
);
}
}
else
{
...
...
Timo Koch
@timok
mentioned in commit
dd8fcd49
·
Dec 20, 2018
mentioned in commit
dd8fcd49
mentioned in commit dd8fcd4909b676c8519dd1e9e5985f71c086283c
Toggle commit list
Timo Koch
@timok
mentioned in merge request
!1460 (merged)
·
Dec 20, 2018
mentioned in merge request
!1460 (merged)
mentioned in merge request !1460
Toggle commit list
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