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
bad1ffe4
Commit
bad1ffe4
authored
May 08, 2018
by
Timo Koch
Browse files
[volvars] Fix includes
parent
226e4188
Changes
15
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/1p/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -24,10 +24,10 @@
#ifndef DUMUX_1P_VOLUME_VARIABLES_HH
#define DUMUX_1P_VOLUME_VARIABLES_HH
#include
<dumux/common/properties.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/fluidstates/immiscible.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/1pnc/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -29,6 +29,7 @@
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/2p/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -27,8 +27,8 @@
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
"indices
.hh
"
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
#include
<dumux/porousmediumflow/2p/formulation
.hh
>
namespace
Dumux
{
...
...
dumux/porousmediumflow/2p1c/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -29,6 +29,7 @@
#include
<dumux/common/valgrind.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/2p2c/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -33,6 +33,7 @@
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/porousmediumflow/2p/formulation.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/2pnc/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -29,13 +29,13 @@
#include
<vector>
#include
<dumux/common/math.hh>
#include
<dumux/common/properties.hh>
#include
<dumux/discretization/methods.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/fluidstates/compositional.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
#include
<dumux/material/constraintsolvers/computefromreferencephase.hh>
#include
<dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>
...
...
dumux/porousmediumflow/3p/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -28,7 +28,7 @@
#include
<dumux/material/fluidstates/immiscible.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/3p3c/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -31,6 +31,7 @@
#include
<dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/3pwateroil/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -28,11 +28,7 @@
#include
<vector>
#include
<iostream>
#include
<dune/common/deprecated.hh>
#include
<dumux/common/math.hh>
#include
<dumux/common/properties.hh>
#include
<dumux/discretization/methods.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
...
...
@@ -40,6 +36,7 @@
#include
<dumux/material/fluidstates/compositional.hh>
#include
<dumux/material/constraintsolvers/computefromreferencephase.hh>
#include
<dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
@@ -828,15 +825,6 @@ public:
Scalar
permeability
()
const
{
return
permeability_
;
}
/*!
* \brief Returns the diffusivity coefficient matrix
*/
DUNE_DEPRECATED_MSG
(
"diffusionCoefficient() is deprecated. Use diffusionCoefficient(int phaseIdx) instead."
)
Dune
::
FieldVector
<
Scalar
,
numPs
>
diffusionCoefficient
()
const
{
return
diffusionCoefficient_
;
}
/*!
* \brief Returns the diffusion coefficient
*/
...
...
dumux/porousmediumflow/co2/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -27,9 +27,9 @@
#include
<dune/common/exceptions.hh>
#include
<dumux/common/properties.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/2p/formulation.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/mpnc/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -25,21 +25,16 @@
#ifndef DUMUX_MPNC_VOLUME_VARIABLES_HH
#define DUMUX_MPNC_VOLUME_VARIABLES_HH
#include
"indices.hh"
#include
<dumux/common/properties.hh>
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/constraintsolvers/ncpflash.hh>
#include
<dumux/material/constraintsolvers/compositionfromfugacities.hh>
#include
<dumux/material/constraintsolvers/misciblemultiphasecomposition.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
#include
"pressureformulation.hh"
namespace
Dumux
{
namespace
Dumux
{
// forward declaration
template
<
class
Traits
,
bool
enableChemicalNonEquilibrium
>
...
...
@@ -55,8 +50,8 @@ using MPNCVolumeVariables = MPNCVolumeVariablesImplementation<Traits, Traits::M
template
<
class
Traits
>
class
MPNCVolumeVariablesImplementation
<
Traits
,
false
>
:
public
PorousMediumFlowVolumeVariables
<
Traits
>
,
public
EnergyVolumeVariables
<
Traits
,
MPNCVolumeVariables
<
Traits
>
>
:
public
PorousMediumFlowVolumeVariables
<
Traits
>
,
public
EnergyVolumeVariables
<
Traits
,
MPNCVolumeVariables
<
Traits
>
>
{
using
ParentType
=
PorousMediumFlowVolumeVariables
<
Traits
>
;
using
EnergyVolVars
=
EnergyVolumeVariables
<
Traits
,
MPNCVolumeVariables
<
Traits
>
>
;
...
...
@@ -222,22 +217,23 @@ public:
for
(
int
compIdx
=
0
;
compIdx
<
numFluidComps
;
++
compIdx
)
fug
[
compIdx
]
=
priVars
[
Indices
::
fug0Idx
+
compIdx
];
// calculate phase compositions
for
(
int
phaseIdx
=
0
;
phaseIdx
<
numPhases
();
++
phaseIdx
)
{
// initial guess
for
(
int
compIdx
=
0
;
compIdx
<
numFluidComps
;
++
compIdx
)
{
Scalar
x_ij
=
1.0
/
numFluidComps
;
// set initial guess of the component's mole fraction
fluidState
.
setMoleFraction
(
phaseIdx
,
compIdx
,
x_ij
);
}
// calculate the phase composition from the component
// fugacities
CompositionFromFugacities
::
guessInitial
(
fluidState
,
paramCache
,
phaseIdx
,
fug
);
CompositionFromFugacities
::
solve
(
fluidState
,
paramCache
,
phaseIdx
,
fug
);
// calculate phase compositions
for
(
int
phaseIdx
=
0
;
phaseIdx
<
numPhases
();
++
phaseIdx
)
{
// initial guess
for
(
int
compIdx
=
0
;
compIdx
<
numFluidComps
;
++
compIdx
)
{
Scalar
x_ij
=
1.0
/
numFluidComps
;
// set initial guess of the component's mole fraction
fluidState
.
setMoleFraction
(
phaseIdx
,
compIdx
,
x_ij
);
}
// calculate the phase composition from the component
// fugacities
CompositionFromFugacities
::
guessInitial
(
fluidState
,
paramCache
,
phaseIdx
,
fug
);
CompositionFromFugacities
::
solve
(
fluidState
,
paramCache
,
phaseIdx
,
fug
);
}
// dynamic viscosities
for
(
int
phaseIdx
=
0
;
phaseIdx
<
numPhases
();
++
phaseIdx
)
{
// viscosities
...
...
dumux/porousmediumflow/richards/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -32,6 +32,7 @@
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/idealgas.hh>
#include
<dumux/material/constants.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/richardsnc/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -27,6 +27,7 @@
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/porousmediumflow/nonisothermal/volumevariables.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/tracer/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -25,6 +25,7 @@
#define DUMUX_TRACER_VOLUME_VARIABLES_HH
#include
<dumux/porousmediumflow/volumevariables.hh>
#include
<dumux/material/solidstates/updatesolidvolumefractions.hh>
namespace
Dumux
{
...
...
dumux/porousmediumflow/volumevariables.hh
View file @
bad1ffe4
...
...
@@ -25,8 +25,6 @@
#ifndef DUMUX_POROUSMEDIUMFLOW_VOLUME_VARIABLES_HH
#define DUMUX_POROUSMEDIUMFLOW_VOLUME_VARIABLES_HH
#include
<dumux/common/properties.hh>
namespace
Dumux
{
/*!
...
...
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