Commit 7901ce1c authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: add 'this->' qualifier to find methods in base case

parent a583a228
......@@ -82,7 +82,7 @@ inline bool Foam::HashTable<T, Key, Hash>::insert
const T& newEntry
)
{
return set(key, newEntry, true);
return this->set(key, newEntry, true);
}
......@@ -93,7 +93,7 @@ inline bool Foam::HashTable<T, Key, Hash>::set
const T& newEntry
)
{
return set(key, newEntry, false);
return this->set(key, newEntry, false);
}
......@@ -110,9 +110,9 @@ Foam::HashTable<T, Key, Hash>::xfer()
template<class T, class Key, class Hash>
inline T& Foam::HashTable<T, Key, Hash>::operator[](const Key& key)
{
iterator iter = find(key);
iterator iter = this->find(key);
if (iter == end())
if (iter == this->end())
{
FatalErrorIn("HashTable<T, Key, Hash>::operator[](const Key&)")
<< key << " not found in table. Valid entries: "
......@@ -127,9 +127,9 @@ inline T& Foam::HashTable<T, Key, Hash>::operator[](const Key& key)
template<class T, class Key, class Hash>
inline const T& Foam::HashTable<T, Key, Hash>::operator[](const Key& key) const
{
const_iterator iter = find(key);
const_iterator iter = this->find(key);
if (iter == cend())
if (iter == this->cend())
{
FatalErrorIn("HashTable<T, Key, Hash>::operator[](const Key&) const")
<< key << " not found in table. Valid entries: "
......@@ -144,11 +144,11 @@ inline const T& Foam::HashTable<T, Key, Hash>::operator[](const Key& key) const
template<class T, class Key, class Hash>
inline T& Foam::HashTable<T, Key, Hash>::operator()(const Key& key)
{
iterator iter = find(key);
iterator iter = this->find(key);
if (iter == end())
if (iter == this->end())
{
insert(key, T());
this->insert(key, T());
return *find(key);
}
else
......
......@@ -82,7 +82,7 @@ void Foam::LPtrList<LListBase, T>::read(Istream& is, const INew& iNew)
for (label i=1; i<s; ++i)
{
append(tPtr->clone().ptr());
this->append(tPtr->clone().ptr());
}
}
}
......
......@@ -175,7 +175,7 @@ bool Foam::TimeActivatedExplicitSourceList<Type>::readData(Istream& is)
typename TimeActivatedExplicitSource<Type>::iNew(mesh_, fieldNames_)
);
transfer(newSources);
this->transfer(newSources);
return is.good();
}
......
......@@ -67,7 +67,7 @@ public:
void add(const GeometricField<Type, fvPatchField, volMesh>& f)
{
insert(f.name(), &f);
this->insert(f.name(), &f);
}
};
......
......@@ -265,7 +265,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
scalarField Cs(td.cloud().composition().carrier().species().size(), 0.0);
// Calc mass and enthalpy transfer due to phase change
calcPhaseChange
this->calcPhaseChange
(
td,
dt,
......@@ -313,7 +313,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
);
// Correct surface values due to emitted species
correctSurfaceValues(td, cellI, Ts, Cs, rhos, mus, Pr, kappa);
this->correctSurfaceValues(td, cellI, Ts, Cs, rhos, mus, Pr, kappa);
// Surface reactions
......@@ -371,7 +371,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
// Calculate new particle temperature
scalar Cuh = 0.0;
scalar T1 =
calcHeatTransfer
this->calcHeatTransfer
(
td,
dt,
......@@ -396,7 +396,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
// Calculate new particle velocity
scalar Cud = 0;
vector U1 =
calcVelocity
this->calcVelocity
(
td,
dt,
......
......@@ -322,7 +322,7 @@ void Foam::ReactingParcel<ParcelType>::calc
// Calculate new particle temperature
scalar Cuh = 0.0;
scalar T1 =
calcHeatTransfer
this->calcHeatTransfer
(
td,
dt,
......@@ -347,7 +347,7 @@ void Foam::ReactingParcel<ParcelType>::calc
// Calculate new particle velocity
scalar Cud = 0.0;
vector U1 =
calcVelocity
this->calcVelocity
(
td,
dt,
......
......@@ -202,7 +202,7 @@ void Foam::ThermoParcel<ParcelType>::calc
// Calculate new particle velocity
scalar Cuh = 0.0;
scalar T1 =
calcHeatTransfer
this->calcHeatTransfer
(
td,
dt,
......@@ -227,7 +227,7 @@ void Foam::ThermoParcel<ParcelType>::calc
// Calculate new particle velocity
scalar Cud = 0.0;
vector U1 =
calcVelocity
this->calcVelocity
(
td,
dt,
......
Markdown is supported
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