Commit 2f8f9f27 authored by Andrew Heather's avatar Andrew Heather
Browse files

further updates relating to commit 278e8c50

parent 006803b4
......@@ -182,7 +182,7 @@ public:
virtual bool writeSurface
(
const fileName& timeName = fileName::null,
const bool& triangulate = false
const bool triangulate = false
) const
{
return false;
......
......@@ -530,7 +530,7 @@ bool Foam::meshWriters::STARCD::write(const fileName& meshName) const
bool Foam::meshWriters::STARCD::writeSurface
(
const fileName& meshName,
const bool& triangulate
const bool triangulate
) const
{
fileName baseName(meshName);
......
......@@ -135,7 +135,7 @@ public:
virtual bool writeSurface
(
const fileName& meshName = fileName::null,
const bool& triangulate = false
const bool triangulate = false
) const;
};
......
......@@ -273,7 +273,7 @@ public:
}
//- Return porosity
const scalar& porosity() const
scalar porosity() const
{
return porosity_;
}
......
......@@ -149,7 +149,7 @@ public:
}
//- Return the rotational speed
const scalar& omega() const
scalar omega() const
{
return omega_;
}
......
......@@ -251,7 +251,7 @@ Foam::label Foam::quadraticFitSnGradData::calcFit
scalarList singVals(minSize_);
label nSVDzeros = 0;
const scalar& deltaCoeff = mesh().deltaCoeffs()[faci];
const scalar deltaCoeff = mesh().deltaCoeffs()[faci];
bool goodFit = false;
for(int iIt = 0; iIt < 10 && !goodFit; iIt++)
......
......@@ -264,11 +264,11 @@ public:
inline const List<label>& gasToLiquidIndex() const;
inline const List<bool>& isLiquidFuel() const;
inline const bool& twoD() const;
inline bool twoD() const;
inline const vector& axisOfSymmetry() const;
inline const vector& axisOfWedge() const;
inline const vector& axisOfWedgeNormal() const;
inline const scalar& angleOfWedge() const;
inline scalar angleOfWedge() const;
inline const interpolation<vector>& UInterpolator() const;
inline const interpolation<scalar>& rhoInterpolator() const;
......@@ -284,9 +284,9 @@ public:
inline PtrList<scalarField>& srhos();
inline const PtrList<scalarField>& srhos() const;
inline const scalar& ambientPressure() const;
inline scalar ambientPressure() const;
inline const scalar& ambientTemperature() const;
inline scalar ambientTemperature() const;
// Check
......
......@@ -276,7 +276,7 @@ inline const List<bool>& spray::isLiquidFuel() const
}
inline const bool& spray::twoD() const
inline bool spray::twoD() const
{
return twoD_;
}
......@@ -300,7 +300,7 @@ inline const vector& spray::axisOfWedgeNormal() const
}
inline const scalar& spray::angleOfWedge() const
inline scalar spray::angleOfWedge() const
{
return angleOfWedge_;
}
......@@ -366,13 +366,13 @@ inline const PtrList<scalarField>& spray::srhos() const
}
inline const scalar& spray::ambientPressure() const
inline scalar spray::ambientPressure() const
{
return ambientPressure_;
}
inline const scalar& spray::ambientTemperature() const
inline scalar spray::ambientTemperature() const
{
return ambientTemperature_;
}
......
......@@ -396,7 +396,7 @@ class autoLayerDriver
const PackedBoolList& isMasterEdge,
const labelList& meshEdges,
const scalarField& fieldMin,
const label& nSmoothDisp,
const label nSmoothDisp,
scalarField& field
) const;
......
......@@ -94,7 +94,7 @@ void Foam::autoLayerDriver::smoothField
const PackedBoolList& isMasterEdge,
const labelList& meshEdges,
const scalarField& fieldMin,
const label& nSmoothDisp,
const label nSmoothDisp,
scalarField& field
) const
{
......
......@@ -36,7 +36,7 @@ Foam::lineDivide::lineDivide
(
const curvedEdge& cedge,
const label ndiv,
const scalar& xratio
const scalar xratio
)
:
points_(ndiv + 1),
......
......@@ -67,7 +67,7 @@ public:
(
const curvedEdge&,
const label ndiv,
const scalar& xratio = 1.0
const scalar xratio = 1.0
);
......
......@@ -109,7 +109,7 @@ namespace Foam
}
}
const scalar& v = values[elemI];
const scalar v = values[elemI];
os << float(v);
}
os << nl;
......
......@@ -148,7 +148,7 @@ public:
}
//- Return the emissivity
const scalar& emissivity() const
scalar emissivity() const
{
return emissivity_;
}
......
......@@ -148,7 +148,7 @@ public:
}
//- Return the emissivity
const scalar& emissivity() const
scalar emissivity() const
{
return emissivity_;
}
......
......@@ -147,7 +147,7 @@ public:
}
//- Return the emissivity
const scalar& emissivity() const
scalar emissivity() const
{
return emissivity_;
}
......
......@@ -147,7 +147,7 @@ public:
}
//- Return the emissivity
const scalar& emissivity() const
scalar emissivity() const
{
return emissivity_;
}
......
......@@ -153,7 +153,7 @@ template<class equationOfState>
inline Foam::scalar Foam::janafThermo<equationOfState>::hc() const
{
const coeffArray& a = lowCpCoeffs_;
const scalar& Tstd = specie::Tstd;
const scalar Tstd = specie::Tstd;
return this->RR*
(
(
......
......@@ -52,8 +52,8 @@ namespace Foam
Foam::tmp<Foam::scalarField> Foam::movingConeTopoFvMesh::vertexMarkup
(
const pointField& p,
const scalar& curLeft,
const scalar& curRight
const scalar curLeft,
const scalar curRight
) const
{
Info<< "Updating vertex markup. curLeft: "
......
......@@ -98,8 +98,8 @@ class movingConeTopoFvMesh
tmp<scalarField> vertexMarkup
(
const pointField& p,
const scalar& curLeft,
const scalar& curRight
const scalar curLeft,
const scalar curRight
) const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment