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
ae6857f6
Commit
ae6857f6
authored
Dec 19, 2016
by
Dennis Gläser
Browse files
Merge branch 'fix/global-caching-compositional-models' into 'next'
Fix/global caching compositional models See merge request
!307
parents
68ea94ee
6384c837
Changes
4
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/2p2c/implicit/model.hh
View file @
ae6857f6
...
...
@@ -172,10 +172,10 @@ public:
auto
dofIdxGlobal
=
scv
.
dofIndex
();
if
(
priVarSwitch_
().
wasSwitched
(
dofIdxGlobal
))
{
this
->
nonConstCurGlobalVolVars
().
volVars
(
dofIdxGlobal
).
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
this
->
nonConstCurGlobalVolVars
().
volVars
(
scv
.
index
()
).
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
}
}
}
...
...
dumux/porousmediumflow/2pnc/implicit/model.hh
View file @
ae6857f6
...
...
@@ -184,10 +184,10 @@ public:
auto
dofIdxGlobal
=
scv
.
dofIndex
();
if
(
priVarSwitch_
().
wasSwitched
(
dofIdxGlobal
))
{
this
->
nonConst
ant
CurGlobalVolVars
()
[
dofIdxGlobal
]
.
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
this
->
nonConstCurGlobalVolVars
()
.
volVars
(
scv
.
index
())
.
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
}
}
...
...
dumux/porousmediumflow/2pncmin/implicit/model.hh
View file @
ae6857f6
...
...
@@ -179,10 +179,10 @@ public:
auto
dofIdxGlobal
=
scv
.
dofIndex
();
if
(
priVarSwitch_
().
wasSwitched
(
dofIdxGlobal
))
{
this
->
nonConstCurGlobalVolVars
().
volVars
(
dofIdxGlobal
).
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
this
->
nonConstCurGlobalVolVars
().
volVars
(
scv
.
index
()
).
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
}
}
}
...
...
dumux/porousmediumflow/3p3c/implicit/model.hh
View file @
ae6857f6
...
...
@@ -169,10 +169,11 @@ public:
auto
dofIdxGlobal
=
scv
.
dofIndex
();
if
(
priVarSwitch_
().
wasSwitched
(
dofIdxGlobal
))
{
this
->
nonConstantCurGlobalVolVars
()[
dofIdxGlobal
].
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
this
->
nonConstCurGlobalVolVars
().
volVars
(
scv
.
index
()).
update
(
this
->
curSol
()[
dofIdxGlobal
],
this
->
problem_
(),
element
,
scv
);
}
}
...
...
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