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
9e293397
Commit
9e293397
authored
Jul 25, 2018
by
Melanie Lipp
Browse files
Rename FluidSystem::BaseFluidSystem to FluidSystem::Base.
parent
49d40c4b
Changes
22
Hide whitespace changes
Inline
Side-by-side
dumux/material/fluidsystems/1padapter.hh
View file @
9e293397
...
...
@@ -42,10 +42,10 @@ namespace FluidSystems {
*/
template
<
class
MPFluidSystem
,
int
phase
=
0
>
class
OnePAdapter
:
public
Base
FluidSystem
<
typename
MPFluidSystem
::
Scalar
,
OnePAdapter
<
MPFluidSystem
,
phase
>>
:
public
Base
<
typename
MPFluidSystem
::
Scalar
,
OnePAdapter
<
MPFluidSystem
,
phase
>>
{
using
ThisType
=
OnePAdapter
<
MPFluidSystem
,
phase
>
;
using
Base
=
Base
FluidSystem
<
typename
MPFluidSystem
::
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
typename
MPFluidSystem
::
Scalar
,
ThisType
>
;
static_assert
(
phase
<
MPFluidSystem
::
numPhases
,
"Phase does not exist in multi-phase fluidsystem!"
);
...
...
dumux/material/fluidsystems/1pgas.hh
View file @
9e293397
...
...
@@ -41,10 +41,10 @@ namespace FluidSystems {
*/
template
<
class
Scalar
,
class
ComponentT
>
class
OnePGas
:
public
Base
FluidSystem
<
Scalar
,
OnePGas
<
Scalar
,
ComponentT
>
>
:
public
Base
<
Scalar
,
OnePGas
<
Scalar
,
ComponentT
>
>
{
using
ThisType
=
OnePGas
<
Scalar
,
ComponentT
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
static_assert
(
ComponentTraits
<
ComponentT
>::
hasGasState
,
"The component does not implement a gas state!"
);
...
...
dumux/material/fluidsystems/1pliquid.hh
View file @
9e293397
...
...
@@ -41,10 +41,10 @@ namespace FluidSystems {
*/
template
<
class
Scalar
,
class
ComponentT
>
class
OnePLiquid
:
public
Base
FluidSystem
<
Scalar
,
OnePLiquid
<
Scalar
,
ComponentT
>
>
:
public
Base
<
Scalar
,
OnePLiquid
<
Scalar
,
ComponentT
>
>
{
using
ThisType
=
OnePLiquid
<
Scalar
,
ComponentT
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
static_assert
(
ComponentTraits
<
ComponentT
>::
hasLiquidState
,
"The component does not implement a liquid state!"
);
...
...
dumux/material/fluidsystems/2p1c.hh
View file @
9e293397
...
...
@@ -40,10 +40,10 @@ namespace FluidSystems {
*/
template
<
class
Scalar
,
class
ComponentType
>
class
TwoPOneC
:
public
Base
FluidSystem
<
Scalar
,
TwoPOneC
<
Scalar
,
ComponentType
>
>
:
public
Base
<
Scalar
,
TwoPOneC
<
Scalar
,
ComponentType
>
>
{
using
ThisType
=
TwoPOneC
<
Scalar
,
ComponentType
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
using
Component
=
ComponentType
;
public:
...
...
dumux/material/fluidsystems/2pimmiscible.hh
View file @
9e293397
...
...
@@ -53,7 +53,7 @@ namespace FluidSystems {
*/
template
<
class
Scalar
,
class
Fluid0
,
class
Fluid1
>
class
TwoPImmiscible
:
public
Base
FluidSystem
<
Scalar
,
TwoPImmiscible
<
Scalar
,
Fluid0
,
Fluid1
>
>
:
public
Base
<
Scalar
,
TwoPImmiscible
<
Scalar
,
Fluid0
,
Fluid1
>
>
{
static_assert
((
Fluid0
::
numPhases
==
1
),
"Fluid0 has more than one phase"
);
static_assert
((
Fluid1
::
numPhases
==
1
),
"Fluid1 has more than one phase"
);
...
...
@@ -63,7 +63,7 @@ class TwoPImmiscible
static_assert
(
Fluid0
::
isLiquid
()
||
Fluid1
::
isLiquid
(),
"One phase has to be a liquid!"
);
using
ThisType
=
TwoPImmiscible
<
Scalar
,
Fluid0
,
Fluid1
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
public:
static
constexpr
int
numPhases
=
2
;
//!< Number of phases in the fluid system
...
...
dumux/material/fluidsystems/3pimmiscible.hh
View file @
9e293397
...
...
@@ -56,7 +56,7 @@ namespace FluidSystems {
*/
template
<
class
Scalar
,
class
WettingFluid
,
class
NonwettingFluid
,
class
Gas
>
class
ThreePImmiscible
:
public
Base
FluidSystem
<
Scalar
,
ThreePImmiscible
<
Scalar
,
WettingFluid
,
NonwettingFluid
,
Gas
>
>
:
public
Base
<
Scalar
,
ThreePImmiscible
<
Scalar
,
WettingFluid
,
NonwettingFluid
,
Gas
>
>
{
static_assert
((
WettingFluid
::
numPhases
==
1
),
"WettingFluid has more than one phase"
);
static_assert
((
NonwettingFluid
::
numPhases
==
1
),
"NonwettingFluid has more than one phase"
);
...
...
@@ -66,7 +66,7 @@ class ThreePImmiscible
static_assert
((
Gas
::
numComponents
==
1
),
"Gas has more than one component"
);
using
ThisType
=
ThreePImmiscible
<
Scalar
,
WettingFluid
,
NonwettingFluid
,
Gas
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
public:
/****************************************
* Fluid phase related static parameters
...
...
dumux/material/fluidsystems/base.hh
View file @
9e293397
...
...
@@ -19,7 +19,7 @@
/*!
* \file
* \ingroup Fluidsystems
* \brief @copybrief Dumux::FluidSystems::Base
FluidSystem
* \brief @copybrief Dumux::FluidSystems::Base
*/
#ifndef DUMUX_BASE_FLUID_SYSTEM_HH
#define DUMUX_BASE_FLUID_SYSTEM_HH
...
...
@@ -39,7 +39,7 @@ namespace FluidSystems {
* that all basic functionality is available!
*/
template
<
class
ScalarType
,
class
Implementation
>
class
Base
FluidSystem
class
Base
{
public:
//! export the scalar type
...
...
dumux/material/fluidsystems/brine.hh
View file @
9e293397
...
...
@@ -41,10 +41,10 @@ namespace FluidSystems {
* two components, which are H2O and NaCl.
*/
template
<
class
Scalar
,
class
H2OType
=
Components
::
TabulatedComponent
<
Dumux
::
Components
::
H2O
<
Scalar
>
>
>
class
Brine
:
public
Base
FluidSystem
<
Scalar
,
Brine
<
Scalar
,
H2OType
>>
class
Brine
:
public
Base
<
Scalar
,
Brine
<
Scalar
,
H2OType
>>
{
using
ThisType
=
Brine
<
Scalar
,
H2OType
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
public:
//! export the involved components
...
...
dumux/material/fluidsystems/brineair.hh
View file @
9e293397
...
...
@@ -69,10 +69,10 @@ template <class Scalar,
class
H2Otype
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>
>
,
class
Policy
=
BrineAirDefaultPolicy
<>>
class
BrineAir
:
public
Base
FluidSystem
<
Scalar
,
BrineAir
<
Scalar
,
H2Otype
,
Policy
>>
:
public
Base
<
Scalar
,
BrineAir
<
Scalar
,
H2Otype
,
Policy
>>
{
using
ThisType
=
BrineAir
<
Scalar
,
H2Otype
,
Policy
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
using
IdealGas
=
Dumux
::
IdealGas
<
Scalar
>
;
public:
...
...
dumux/material/fluidsystems/brineco2.hh
View file @
9e293397
...
...
@@ -52,10 +52,10 @@ template<class Scalar,
class
BrineRawComponent
=
Components
::
Brine
<
Scalar
,
Components
::
H2O
<
Scalar
>
>
,
class
Brinetype
=
Components
::
TabulatedComponent
<
BrineRawComponent
>
>
class
BrineCO2
:
public
Base
FluidSystem
<
Scalar
,
BrineCO2
<
Scalar
,
CO2Table
,
H2Otype
,
BrineRawComponent
,
Brinetype
>
>
:
public
Base
<
Scalar
,
BrineCO2
<
Scalar
,
CO2Table
,
H2Otype
,
BrineRawComponent
,
Brinetype
>
>
{
using
ThisType
=
BrineCO2
<
Scalar
,
CO2Table
,
H2Otype
,
BrineRawComponent
,
Brinetype
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
using
Brine_CO2
=
BinaryCoeff
::
Brine_CO2
<
Scalar
,
CO2Table
>
;
...
...
@@ -610,7 +610,7 @@ public:
using
Base
::
heatCapacity
;
/*!
* \copybrief Base
FluidSystem
::heatCapacity
* \copybrief Base::heatCapacity
*
* \note We employ the heat capacity of the pure phases.
*
...
...
dumux/material/fluidsystems/h2oair.hh
View file @
9e293397
...
...
@@ -69,10 +69,10 @@ template <class Scalar,
class
Policy
=
H2OAirDefaultPolicy
<>
,
bool
useKelvinVaporPressure
=
false
>
class
H2OAir
:
public
Base
FluidSystem
<
Scalar
,
H2OAir
<
Scalar
,
H2Otype
,
Policy
>
>
:
public
Base
<
Scalar
,
H2OAir
<
Scalar
,
H2Otype
,
Policy
>
>
{
using
ThisType
=
H2OAir
<
Scalar
,
H2Otype
,
Policy
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
using
IdealGas
=
Dumux
::
IdealGas
<
Scalar
>
;
public:
...
...
dumux/material/fluidsystems/h2oairmesitylene.hh
View file @
9e293397
...
...
@@ -51,10 +51,10 @@ namespace FluidSystems {
template
<
class
Scalar
,
class
H2OType
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>
>
>
class
H2OAirMesitylene
:
public
Base
FluidSystem
<
Scalar
,
H2OAirMesitylene
<
Scalar
,
H2OType
>
>
:
public
Base
<
Scalar
,
H2OAirMesitylene
<
Scalar
,
H2OType
>
>
{
using
ThisType
=
H2OAirMesitylene
<
Scalar
,
H2OType
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
public:
using
NAPL
=
Components
::
Mesitylene
<
Scalar
>
;
...
...
dumux/material/fluidsystems/h2oairxylene.hh
View file @
9e293397
...
...
@@ -52,10 +52,10 @@ namespace FluidSystems
template
<
class
Scalar
,
class
H2OType
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>
>
>
class
H2OAirXylene
:
public
Base
FluidSystem
<
Scalar
,
H2OAirXylene
<
Scalar
,
H2OType
>
>
:
public
Base
<
Scalar
,
H2OAirXylene
<
Scalar
,
H2OType
>
>
{
using
ThisType
=
H2OAirXylene
<
Scalar
,
H2OType
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
public:
using
H2O
=
H2OType
;
...
...
dumux/material/fluidsystems/h2oheavyoil.hh
View file @
9e293397
...
...
@@ -44,10 +44,10 @@ namespace FluidSystems {
template
<
class
Scalar
,
class
H2OType
=
Dumux
::
Components
::
TabulatedComponent
<
Dumux
::
Components
::
H2O
<
Scalar
>
>
>
class
H2OHeavyOil
:
public
Base
FluidSystem
<
Scalar
,
H2OHeavyOil
<
Scalar
,
H2OType
>
>
:
public
Base
<
Scalar
,
H2OHeavyOil
<
Scalar
,
H2OType
>
>
{
using
ThisType
=
H2OHeavyOil
<
Scalar
,
H2OType
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
public:
using
HeavyOil
=
Dumux
::
Components
::
HeavyOil
<
Scalar
>
;
...
...
dumux/material/fluidsystems/h2on2.hh
View file @
9e293397
...
...
@@ -63,10 +63,10 @@ struct H2ON2DefaultPolicy
*/
template
<
class
Scalar
,
class
Policy
=
H2ON2DefaultPolicy
<
>
>
class
H2ON2
:
public
Base
FluidSystem
<
Scalar
,
H2ON2
<
Scalar
,
Policy
>
>
:
public
Base
<
Scalar
,
H2ON2
<
Scalar
,
Policy
>
>
{
using
ThisType
=
H2ON2
<
Scalar
,
Policy
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
// convenience using declarations
using
IdealGas
=
Dumux
::
IdealGas
<
Scalar
>
;
...
...
dumux/material/fluidsystems/h2on2o2.hh
View file @
9e293397
...
...
@@ -72,10 +72,10 @@ struct H2ON2O2DefaultPolicy
*/
template
<
class
Scalar
,
class
Policy
=
H2ON2O2DefaultPolicy
<
>
>
class
H2ON2O2
:
public
Base
FluidSystem
<
Scalar
,
H2ON2O2
<
Scalar
,
Policy
>
>
:
public
Base
<
Scalar
,
H2ON2O2
<
Scalar
,
Policy
>
>
{
using
ThisType
=
H2ON2O2
<
Scalar
,
Policy
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
using
IdealGas
=
Dumux
::
IdealGas
<
Scalar
>
;
using
Constants
=
Dumux
::
Constants
<
Scalar
>
;
...
...
dumux/material/fluidsystems/liquidphase2c.hh
View file @
9e293397
...
...
@@ -41,10 +41,10 @@ namespace FluidSystems {
*/
template
<
class
Scalar
,
class
MainComponent
,
class
SecondComponent
>
class
LiquidPhaseTwoC
:
public
Base
FluidSystem
<
Scalar
,
LiquidPhaseTwoC
<
Scalar
,
MainComponent
,
SecondComponent
>
>
:
public
Base
<
Scalar
,
LiquidPhaseTwoC
<
Scalar
,
MainComponent
,
SecondComponent
>
>
{
using
ThisType
=
LiquidPhaseTwoC
<
Scalar
,
MainComponent
,
SecondComponent
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
using
BinaryCoefficients
=
BinaryCoeff
::
H2O_Component
<
Scalar
,
SecondComponent
>
;
public:
...
...
test/freeflow/navierstokesnc/msfreeflowtestproblem.hh
View file @
9e293397
...
...
@@ -75,12 +75,12 @@ SET_TYPE_PROP(MaxwellStefanNCTestTypeTag, MolecularDiffusionType, MaxwellStefans
*/
template
<
class
TypeTag
>
class
MaxwellStefanFluidSystem
:
public
FluidSystems
::
Base
FluidSystem
<
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
),
MaxwellStefanFluidSystem
<
TypeTag
>>
:
public
FluidSystems
::
Base
<
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
),
MaxwellStefanFluidSystem
<
TypeTag
>>
{
using
Scalar
=
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
);
using
ThisType
=
MaxwellStefanFluidSystem
<
TypeTag
>
;
using
Base
=
FluidSystems
::
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
FluidSystems
::
Base
<
Scalar
,
ThisType
>
;
public:
//! The number of phases
...
...
test/porousmediumflow/mpnc/implicit/combustionfluidsystem.hh
View file @
9e293397
...
...
@@ -47,10 +47,10 @@ namespace FluidSystems {
*/
template
<
class
Scalar
>
class
CombustionFluidsystem
:
public
Base
FluidSystem
<
Scalar
,
CombustionFluidsystem
<
Scalar
>
>
:
public
Base
<
Scalar
,
CombustionFluidsystem
<
Scalar
>
>
{
using
ThisType
=
CombustionFluidsystem
<
Scalar
>
;
using
Base
=
Base
FluidSystem
<
Scalar
,
ThisType
>
;
using
Base
=
Dumux
::
FluidSystem
s
::
Base
<
Scalar
,
ThisType
>
;
// convenience using declarations
using
IdealGas
=
Dumux
::
IdealGas
<
Scalar
>
;
...
...
test/porousmediumflow/tracer/1ptracer/tracertestproblem.hh
View file @
9e293397
...
...
@@ -67,7 +67,7 @@ SET_BOOL_PROP(TracerTestCCTypeTag, SolutionDependentMolecularDiffusion, false);
//! A simple fluid system with one tracer component
template
<
class
TypeTag
>
class
TracerFluidSystem
:
public
FluidSystems
::
Base
FluidSystem
<
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
),
class
TracerFluidSystem
:
public
FluidSystems
::
Base
<
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
),
TracerFluidSystem
<
TypeTag
>>
{
using
Scalar
=
typename
GET_PROP_TYPE
(
TypeTag
,
Scalar
);
...
...
Prev
1
2
Next
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