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
c6a8be9a
Commit
c6a8be9a
authored
Apr 30, 2018
by
Dennis Gläser
Committed by
Timo Koch
May 02, 2018
Browse files
[boxdfm][vtkoutputmodule] improve readability
parent
9349ceec
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/boxdfm/vtkoutputmodule.hh
View file @
c6a8be9a
...
...
@@ -219,26 +219,17 @@ private:
const
auto
dofIdxGlobal
=
scv
.
dofIndex
();
const
auto
&
volVars
=
elemVolVars
[
scv
];
// get the scalar-valued data
if
(
!
scv
.
isOnFracture
())
{
for
(
std
::
size_t
i
=
0
;
i
<
volVarScalarDataInfo
.
size
();
++
i
)
volVarScalarData
[
i
][
dofIdxGlobal
]
=
volVarScalarDataInfo
[
i
].
get
(
volVars
);
}
else
{
for
(
std
::
size_t
i
=
0
;
i
<
volVarScalarDataInfo
.
size
();
++
i
)
volVarScalarDataFracture
[
i
][
vertexToFractureVertexIdx_
[
dofIdxGlobal
]]
=
volVarScalarDataInfo
[
i
].
get
(
volVars
);
}
// get the vector-valued data
if
(
!
scv
.
isOnFracture
())
{
for
(
std
::
size_t
i
=
0
;
i
<
volVarVectorDataInfo
.
size
();
++
i
)
volVarVectorData
[
i
][
dofIdxGlobal
]
=
volVarVectorDataInfo
[
i
].
get
(
volVars
);
}
else
{
for
(
std
::
size_t
i
=
0
;
i
<
volVarScalarDataInfo
.
size
();
++
i
)
volVarScalarDataFracture
[
i
][
vertexToFractureVertexIdx_
[
dofIdxGlobal
]]
=
volVarScalarDataInfo
[
i
].
get
(
volVars
);
for
(
std
::
size_t
i
=
0
;
i
<
volVarVectorDataInfo
.
size
();
++
i
)
volVarVectorDataFracture
[
i
][
vertexToFractureVertexIdx_
[
dofIdxGlobal
]]
=
volVarVectorDataInfo
[
i
].
get
(
volVars
);
}
...
...
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