Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
3e8946e9
Commit
3e8946e9
authored
7 years ago
by
Dennis Gläser
Committed by
Timo Koch
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[nonequil] use scv bracket operator to obtain volvars
parent
bcccf922
No related branches found
No related tags found
1 merge request
!922
Fix/box elemvolvars access
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dumux/porousmediumflow/nonequilibrium/localresidual.hh
+1
-2
1 addition, 2 deletions
dumux/porousmediumflow/nonequilibrium/localresidual.hh
dumux/porousmediumflow/nonequilibrium/thermal/localresidual.hh
+2
-4
2 additions, 4 deletions
.../porousmediumflow/nonequilibrium/thermal/localresidual.hh
with
3 additions
and
6 deletions
dumux/porousmediumflow/nonequilibrium/localresidual.hh
+
1
−
2
View file @
3e8946e9
...
...
@@ -281,8 +281,7 @@ public:
// In the case of a kinetic consideration, mass transfer
// between phases is realized via source terms there is a
// balance equation for each component in each phase
const
auto
&
localScvIdx
=
scv
.
localDofIndex
();
const
auto
&
volVars
=
elemVolVars
[
localScvIdx
];
const
auto
&
volVars
=
elemVolVars
[
scv
];
ComponentVector
componentIntoPhaseMassTransfer
[
numPhases
];
#define FUNKYMASSTRANSFER 0
#if FUNKYMASSTRANSFER
...
...
This diff is collapsed.
Click to expand it.
dumux/porousmediumflow/nonequilibrium/thermal/localresidual.hh
+
2
−
4
View file @
3e8946e9
...
...
@@ -164,8 +164,7 @@ public:
const
SubControlVolume
&
scv
)
{
//specialization for 2 fluid phases
const
auto
&
localScvIdx
=
scv
.
localDofIndex
();
const
auto
&
volVars
=
elemVolVars
[
localScvIdx
];
const
auto
&
volVars
=
elemVolVars
[
scv
];
const
auto
&
fs
=
volVars
.
fluidState
()
;
const
Scalar
characteristicLength
=
volVars
.
characteristicLength
()
;
...
...
@@ -415,8 +414,7 @@ public:
const
SubControlVolume
&
scv
)
{
//specialization for 2 fluid phases
const
auto
&
localScvIdx
=
scv
.
localDofIndex
();
const
auto
&
volVars
=
elemVolVars
[
localScvIdx
];
const
auto
&
volVars
=
elemVolVars
[
scv
];
const
Scalar
awn
=
volVars
.
interfacialArea
(
phase0Idx
,
phase1Idx
);
const
Scalar
aws
=
volVars
.
interfacialArea
(
phase0Idx
,
sPhaseIdx
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment