This commit is contained in:
andy
2009-03-23 17:43:49 +00:00
parent 0d0e364f41
commit 7df6b6adff
6 changed files with 14 additions and 31 deletions

View File

@ -178,10 +178,7 @@ const Foam::vector Foam::KinematicParcel<ParcelType>::calcVelocity
template<class ParcelType>
template<class TrackData>
bool Foam::KinematicParcel<ParcelType>::move
(
TrackData& td
)
bool Foam::KinematicParcel<ParcelType>::move(TrackData& td)
{
ParcelType& p = static_cast<ParcelType&>(*this);
@ -289,19 +286,12 @@ void Foam::KinematicParcel<ParcelType>::hitPatch
template<class ParcelType>
void Foam::KinematicParcel<ParcelType>::hitPatch
(
const polyPatch&,
int&
)
void Foam::KinematicParcel<ParcelType>::hitPatch(const polyPatch&, int&)
{}
template<class ParcelType>
void Foam::KinematicParcel<ParcelType>::transformProperties
(
const tensor& T
)
void Foam::KinematicParcel<ParcelType>::transformProperties(const tensor& T)
{
Particle<ParcelType>::transformProperties(T);
U_ = transform(T, U_);

View File

@ -54,8 +54,10 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
class polynomial;
// Forward declaration of friend functions
Ostream& operator<<
(
Ostream&,

View File

@ -60,12 +60,12 @@ bool Foam::NoDispersion<CloudType>::active() const
template<class CloudType>
Foam::vector Foam::NoDispersion<CloudType>::update
(
const scalar dt,
const label celli,
const vector& U,
const scalar,
const label,
const vector&,
const vector& Uc,
vector& UTurb,
scalar& tTurb
vector&,
scalar&
)
{
// Do nothing

View File

@ -29,11 +29,7 @@ License
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
template <class CloudType>
Foam::NoDrag<CloudType>::NoDrag
(
const dictionary& dict,
CloudType& owner
)
Foam::NoDrag<CloudType>::NoDrag(const dictionary& dict, CloudType& owner)
:
DragModel<CloudType>(dict, owner)
{}
@ -56,10 +52,7 @@ bool Foam::NoDrag<CloudType>::active() const
template<class CloudType>
Foam::scalar Foam::NoDrag<CloudType>::Cd
(
const scalar
) const
Foam::scalar Foam::NoDrag<CloudType>::Cd(const scalar) const
{
return 0.0;
}

View File

@ -56,10 +56,7 @@ bool Foam::SphereDrag<CloudType>::active() const
template <class CloudType>
Foam::scalar Foam::SphereDrag<CloudType>::Cd
(
const scalar Re
) const
Foam::scalar Foam::SphereDrag<CloudType>::Cd(const scalar Re) const
{
scalar Cd;
if (Re < SMALL)

View File

@ -231,4 +231,5 @@ bool Foam::ConeInjection<CloudType>::validInjection(const label parcelI)
return true;
}
// ************************************************************************* //