31 template<
class CloudType>
35 return *cloudCopyPtr_;
39 template<
class CloudType>
40 inline const typename CloudType::particleType::constantProperties&
47 template<
class CloudType>
51 return *collisionModel_;
55 template<
class CloudType>
59 return *collisionModel_;
63 template<
class CloudType>
67 scalar rotationalKineticEnergy = 0.0;
69 for (
const parcelType&
p : *
this)
71 rotationalKineticEnergy +=
72 p.nParticle()*0.5*
p.momentOfInertia()*(
p.omega() &
p.omega());
75 return rotationalKineticEnergy;
const CollisionModel< CollidingCloud< CloudType > > & collision() const
Return const access to the collision model.
Templated collision model class.
Adds coolisions to kinematic clouds.
const parcelType::constantProperties & constProps() const
Return the constant properties.
const CollidingCloud & cloudCopy() const
Return a reference to the cloud copy.
scalar rotationalKineticEnergyOfSystem() const
Total rotational kinetic energy in the system.