Go to the documentation of this file.
34 #ifndef PairCollision_H
35 #define PairCollision_H
48 template<
class CloudType>
51 template<
class CloudType>
59 template<
class CloudType>
110 const point& pointToTest,
111 scalar duplicateRangeSqr
117 const point& pointToTest,
void wallInteraction()
Interactions with walls.
virtual autoPtr< CollisionModel< CloudType > > clone() const
Construct and return a clone.
void postInteraction()
Post collision tasks.
TypeName("pairCollision")
Runtime type information.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void realRealInteraction()
Interactions between real (on-processor) particles.
virtual label nSubCycles() const
Return the number of times to subcycle the current.
void parcelInteraction()
Interactions between parcels.
autoPtr< WallModel< CloudType > > wallModel_
WallModel to calculate the interaction between the parcel and walls.
static scalar flatWallDuplicateExclusion
Distance to multiply the distance to a wall with within.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void realReferredInteraction()
Interactions between real and referred (off processor) particles.
autoPtr< PairModel< CloudType > > pairModel_
PairModel to calculate the interaction between two parcels.
void evaluateWall(typename CloudType::parcelType &p, const List< point > &flatSitePoints, const List< WallSiteData< vector > > &flatSiteData, const List< point > &sharpSitePoints, const List< WallSiteData< vector > > &sharpSiteData) const
Calculate the wall forces on a parcel.
Templated base class for dsmc cloud.
virtual ~PairCollision()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual bool controlsWallInteraction() const
Indicates whether model determines wall collisions or not,.
InteractionLists< typename CloudType::parcelType > il_
Interactions lists determining which cells are in.
Templated wall interaction class.
Stores the patch ID and templated data to represent a collision with a wall to be passed to the wall ...
void preInteraction()
Pre collision tasks.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void evaluatePair(typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const
Calculate the pair force between parcels.
PairCollision(const dictionary &dict, CloudType &owner)
Construct from components.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Templated pair interaction class.
static scalar cosPhiMinFlatWall
Tolerance to determine flat wall interactions.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
bool duplicatePointInList(const DynamicList< point > &existingPoints, const point &pointToTest, scalar duplicateRangeSqr) const
Templated collision model class.