dimensionedType: rationalize lookupOrDefault and lookupOrAddToDict

Now consistent with constructors.
This commit is contained in:
Henry Weller
2015-10-01 17:29:29 +01:00
parent 4096719046
commit a1550cba22
11 changed files with 44 additions and 58 deletions

View File

@ -45,8 +45,8 @@ dimensionedScalar rhoMax
(
"rhoMax",
pimple.dict(),
GREAT,
dimDensity
dimDensity,
GREAT
)
);
@ -56,8 +56,8 @@ dimensionedScalar rhoMin
(
"rhoMin",
pimple.dict(),
0,
dimDensity
dimDensity,
0
)
);

View File

@ -52,8 +52,8 @@ dimensionedScalar rhoMax
(
"rhoMax",
simple.dict(),
GREAT,
dimDensity
dimDensity,
GREAT
)
);
@ -63,8 +63,8 @@ dimensionedScalar rhoMin
(
"rhoMin",
simple.dict(),
0,
dimDensity
dimDensity,
0
)
);

View File

@ -51,8 +51,8 @@ dimensionedScalar rhoMax
(
"rhoMax",
simple.dict(),
GREAT,
dimDensity
dimDensity,
GREAT
)
);
@ -62,8 +62,8 @@ dimensionedScalar rhoMin
(
"rhoMin",
simple.dict(),
0,
dimDensity
dimDensity,
0
)
);

View File

@ -187,8 +187,8 @@ forAll(fluidRegions, i)
(
"rhoMax",
simpleDict,
GREAT,
dimDensity
dimDensity,
GREAT
)
)
);
@ -202,8 +202,8 @@ forAll(fluidRegions, i)
(
"rhoMin",
simpleDict,
0,
dimDensity
dimDensity,
0
)
)
);

View File

@ -64,8 +64,8 @@ dimensionedScalar rhoMax
(
"rhoMax",
pimple.dict(),
GREAT,
dimDensity
dimDensity,
GREAT
)
);
@ -75,8 +75,8 @@ dimensionedScalar rhoMin
(
"rhoMin",
pimple.dict(),
0,
dimDensity
dimDensity,
0
)
);

View File

@ -64,8 +64,8 @@ dimensionedScalar rhoMax
(
"rhoMax",
simple.dict(),
GREAT,
dimDensity
dimDensity,
GREAT
)
);
@ -75,8 +75,8 @@ dimensionedScalar rhoMin
(
"rhoMin",
simple.dict(),
0,
dimDensity
dimDensity,
0
)
);

View File

@ -64,8 +64,8 @@ dimensionedScalar rhoMax
(
"rhoMax",
pimple.dict(),
GREAT,
dimDensity
dimDensity,
GREAT
)
);
@ -75,8 +75,8 @@ dimensionedScalar rhoMin
(
"rhoMin",
pimple.dict(),
0,
dimDensity
dimDensity,
0
)
);