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-course
Commits
23c52f8c
Commit
23c52f8c
authored
Jul 10, 2018
by
Dennis Gläser
Browse files
[ex-fluidsystem] do not use wetting/nonwettingphase as alias
parent
19e0d69e
Changes
3
Hide whitespace changes
Inline
Side-by-side
exercises/exercise-fluidsystem/2pproblem.hh
View file @
23c52f8c
...
...
@@ -91,16 +91,16 @@ SET_PROP(ExerciseThreeTwoPTypeTag, FluidSystem)
private:
using
Scalar
=
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
);
using
TabulatedH2O
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>>
;
using
WettingPhase
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
TabulatedH2O
>
;
using
LiquidWater
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
TabulatedH2O
>
;
/*!
* Uncomment first line and comment second line for using the incompressible component
* Uncomment second line and comment first line for using the compressible component
*/
using
NonWettingPhase
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
MyIncompressibleComponent
<
Scalar
>
>
;
// using
NonWettingPhase
= typename FluidSystems::OnePLiquid<Scalar, MyCompressibleComponent<Scalar> >;
using
LiquidMyComponent
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
MyIncompressibleComponent
<
Scalar
>
>
;
// using
LiquidMyComponent
= typename FluidSystems::OnePLiquid<Scalar, MyCompressibleComponent<Scalar> >;
public:
using
type
=
typename
FluidSystems
::
TwoPImmiscible
<
Scalar
,
WettingPhase
,
NonWettingPhase
>
;
using
type
=
typename
FluidSystems
::
TwoPImmiscible
<
Scalar
,
LiquidWater
,
LiquidMyComponent
>
;
};
}
...
...
exercises/exercise-fluidsystem/README.md
View file @
23c52f8c
...
...
@@ -92,16 +92,16 @@ SET_PROP(ExerciseThreeTwoPTypeTag, FluidSystem)
private:
using
Scalar
=
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
);
using
TabulatedH2O
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>>
;
using
WettingPhase
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
TabulatedH2O
>
;
using
LiquidWater
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
TabulatedH2O
>
;
/*!
* Uncomment first line and comment second line for using the incompressible component
* Uncomment second line and comment first line for using the compressible component
*/
using
NonWettingPhase
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
MyIncompressibleComponent
<
Scalar
>
>
;
// using
NonWettingPhase
= typename FluidSystems::OnePLiquid<Scalar, MyCompressibleComponent<Scalar> >;
using
LiquidMyComponent
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
MyIncompressibleComponent
<
Scalar
>
>
;
// using
LiquidMyComponent
= typename FluidSystems::OnePLiquid<Scalar, MyCompressibleComponent<Scalar> >;
public:
using
type
=
typename
FluidSystems
::
TwoPImmiscible
<
Scalar
,
WettingPhase
,
NonWettingPhase
>
;
using
type
=
typename
FluidSystems
::
TwoPImmiscible
<
Scalar
,
LiquidWater
,
LiquidMyComponent
>
;
};
```
...
...
exercises/solution/ex3/2pproblem.hh
View file @
23c52f8c
...
...
@@ -91,16 +91,16 @@ SET_PROP(ExerciseThreeTwoPTypeTag, FluidSystem)
private:
using
Scalar
=
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
);
using
TabulatedH2O
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>>
;
using
WettingPhase
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
TabulatedH2O
>
;
using
LiquidWater
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
TabulatedH2O
>
;
/*!
* Uncomment first line and comment second line for using the incompressible component
* Uncomment second line and comment first line for using the compressible component
*/
using
NonWettingPhase
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
MyIncompressibleComponent
<
Scalar
>
>
;
// using
NonWettingPhase
= typename FluidSystems::OnePLiquid<Scalar, MyCompressibleComponent<Scalar> >;
using
LiquidMyComponent
=
typename
FluidSystems
::
OnePLiquid
<
Scalar
,
MyIncompressibleComponent
<
Scalar
>
>
;
// using
LiquidMyComponent
= typename FluidSystems::OnePLiquid<Scalar, MyCompressibleComponent<Scalar> >;
public:
using
type
=
typename
FluidSystems
::
TwoPImmiscible
<
Scalar
,
WettingPhase
,
NonWettingPhase
>
;
using
type
=
typename
FluidSystems
::
TwoPImmiscible
<
Scalar
,
LiquidWater
,
LiquidMyComponent
>
;
};
}
...
...
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