Skip to content
GitLab
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
0043da12
Commit
0043da12
authored
Dec 20, 2019
by
Timo Koch
Browse files
[multidomain] Rename local variable to streamline box with cc implementation
parent
08af73fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/multidomain/subdomainboxlocalassembler.hh
View file @
0043da12
...
...
@@ -474,7 +474,7 @@ public:
const
auto
&
stencil
=
this
->
couplingManager
().
couplingStencil
(
domainI
,
element
,
domainJ
);
// convenience lambda for call to update self
auto
update
Self
=
[
&
]
()
auto
update
CoupledVariables
=
[
&
]
()
{
// Update ourself after the context has been modified. Depending on the
// type of caching, other objects might have to be updated. All ifs can be optimized away.
...
...
@@ -510,7 +510,7 @@ public:
{
priVarsJ
[
pvIdx
]
=
priVar
;
this
->
couplingManager
().
updateCouplingContext
(
domainI
,
*
this
,
domainJ
,
globalJ
,
priVarsJ
,
pvIdx
);
update
Self
();
update
CoupledVariables
();
return
this
->
couplingManager
().
evalCouplingResidual
(
domainI
,
*
this
,
domainJ
,
globalJ
);
};
...
...
@@ -558,7 +558,7 @@ public:
// This has to be done in case they depend on variables of domainJ before
// we continue with the numeric derivative w.r.t the next globalJ. Otherwise,
// the next "origResidual" will be incorrect.
update
Self
();
update
CoupledVariables
();
}
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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