33 #ifndef TrajectoryCollision_H 34 #define TrajectoryCollision_H 46 template<
class CloudType>
70 typename CloudType::parcelType::trackingData& td,
virtual ~TrajectoryCollision()
Destructor.
scalar cSpace_
Space coefficient.
A list of keyword definitions, which are a keyword followed by any number of values (e...
TypeName("trajectory")
Runtime type information.
const dictionary & dict() const
Return const access to the cloud dictionary.
A cloud is a collection of lagrangian particles.
virtual bool collideParcels(const scalar dt, parcelType &p1, parcelType &p2, scalar &m1, scalar &m2)
Collide parcels and return true if mass has changed.
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel type.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Trajectory collision model by N. Nordin, based on O'Rourke's collision model.
Collision model by P.J. O'Rourke.
virtual autoPtr< StochasticCollisionModel< CloudType > > clone() const
Construct and return a clone.
virtual void collide(typename CloudType::parcelType::trackingData &td, const scalar dt)
Main collision routine.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar cTime_
Time coefficient.
Templated base class for dsmc cloud.
TrajectoryCollision(const dictionary &dict, CloudType &cloud)
Construct from dictionary.