Commit 72066fd6 authored by Andrew Heather's avatar Andrew Heather
Browse files

minor clean-up

parent dda4777e
......@@ -382,7 +382,7 @@ void Foam::KinematicCloud<ParcelType>::inject
pPtr->stepFraction() = (this->db().time().deltaT().value() - dt)
/this->time().deltaT().value();
this->injectParcel(td, pPtr);
this->injectParcel(pPtr);
}
}
......@@ -397,11 +397,7 @@ void Foam::KinematicCloud<ParcelType>::inject
template<class ParcelType>
template<class TrackingData>
void Foam::KinematicCloud<ParcelType>::injectParcel
(
TrackingData& td,
ParcelType* p
)
void Foam::KinematicCloud<ParcelType>::injectParcel(ParcelType* p)
{
addParticle(p);
nParcelsAdded_++;
......
......@@ -239,11 +239,7 @@ protected:
//- Inject parcel if it is valid - delete otherwise
template<class TrackingData>
void injectParcel
(
TrackingData& td,
ParcelType* p
);
void injectParcel(ParcelType* p);
//- Post-injection checks
void postInjectCheck();
......
......@@ -295,7 +295,7 @@ void Foam::ReactingCloud<ParcelType>::inject
pPtr->stepFraction() = (this->db().time().deltaT().value() - dt)
/this->db().time().deltaT().value();
this->injectParcel(td, pPtr);
this->injectParcel(pPtr);
}
}
......
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