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
6f6cafc3
Commit
6f6cafc3
authored
May 08, 2018
by
Dennis Gläser
Browse files
[ni][volvars] cleanup
parent
b9358f9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/nonisothermal/volumevariables.hh
View file @
6f6cafc3
...
...
@@ -58,12 +58,12 @@ public:
//! The temperature is obtained from the problem as a constant for isothermal models
template
<
class
ElemSol
,
class
Problem
,
class
Element
,
class
Scv
>
void
updateTemperature
(
const
ElemSol
&
elemSol
,
void
updateTemperature
(
const
ElemSol
&
elemSol
,
const
Problem
&
problem
,
const
Element
&
element
,
const
Scv
&
scv
,
const
Element
&
element
,
const
Scv
&
scv
,
FluidState
&
fluidState
,
SolidState
&
solidState
)
SolidState
&
solidState
)
{
// retrieve temperature from solution vector, all phases have the same temperature
Scalar
T
=
problem
.
temperatureAtPos
(
scv
.
dofPosition
());
...
...
@@ -115,12 +115,12 @@ public:
//! The temperature is obtained from the problem as a constant for isothermal models
template
<
class
ElemSol
,
class
Problem
,
class
Element
,
class
Scv
>
void
updateTemperature
(
const
ElemSol
&
elemSol
,
void
updateTemperature
(
const
ElemSol
&
elemSol
,
const
Problem
&
problem
,
const
Element
&
element
,
const
Scv
&
scv
,
const
Element
&
element
,
const
Scv
&
scv
,
FluidState
&
fluidState
,
SolidState
&
solidState
)
SolidState
&
solidState
)
{
if
(
numEnergyEq
==
1
)
{
...
...
@@ -128,7 +128,7 @@ public:
const
Scalar
T
=
ParentType
::
extractDofPriVars
(
elemSol
,
scv
)[
temperatureIdx
];
for
(
int
phaseIdx
=
0
;
phaseIdx
<
FluidSystem
::
numPhases
;
++
phaseIdx
)
{
fluidState
.
setTemperature
(
phaseIdx
,
T
);
fluidState
.
setTemperature
(
phaseIdx
,
T
);
}
solidState
.
setTemperature
(
T
);
}
...
...
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