35 #ifndef TrajectoryCollision_H 36 #define TrajectoryCollision_H 48 template<
class CloudType>
72 typename CloudType::parcelType::trackingData& td,
virtual ~TrajectoryCollision()
Destructor.
scalar cSpace_
Space coefficient.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("trajectory")
Runtime type information.
const dictionary & dict() const
Return const access to the cloud dictionary.
A cloud is a registry 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.
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel type.
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
scalar cTime_
Time coefficient.
Templated base class for dsmc cloud.
TrajectoryCollision(const dictionary &dict, CloudType &cloud)
Construct from dictionary.