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

View File

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

View File

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

View File

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

View File

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

View File

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