28 template<
class CloudType>
32 return cloudCopyPtr_();
36 template<
class CloudType>
37 inline const typename CloudType::particleType::constantProperties&
44 template<
class CloudType>
48 return collisionModel_();
52 template<
class CloudType>
56 return collisionModel_();
60 template<
class CloudType>
64 scalar rotationalKineticEnergy = 0.0;
70 rotationalKineticEnergy +=
71 p.nParticle()*0.5*p.momentOfInertia()*(p.omega() & p.omega());
74 return rotationalKineticEnergy;
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
const CollisionModel< CollidingCloud< CloudType > > & collision() const
Return const access to the collision model.
Templated collision model class.
Adds collisions to clouds.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
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.