Templated collision model class. More...
Public Member Functions | |
TypeName ("collisionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, CollisionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
CollisionModel (CloudType &owner) | |
Construct null from owner. More... | |
CollisionModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
CollisionModel (const CollisionModel< CloudType > &cm) | |
Construct copy. More... | |
virtual autoPtr< CollisionModel< CloudType > > | clone () const =0 |
Construct and return a clone. More... | |
virtual | ~CollisionModel () |
Destructor. More... | |
virtual label | nSubCycles () const =0 |
Return the number of times to subcycle the current. More... | |
virtual bool | controlsWallInteraction () const =0 |
Indicates whether model determines wall collisions or not,. More... | |
virtual void | collide ()=0 |
Static Public Member Functions | |
static autoPtr< CollisionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Private Types | |
typedef CloudType::parcelType | parcelType |
Convenience typedef for parcel type. More... | |
|
private |
Convenience typedef for parcel type.
Definition at line 60 of file CollisionModel.H.
CollisionModel | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 31 of file CollisionModel.C.
CollisionModel | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type | ||
) |
Construct from components.
Definition at line 39 of file CollisionModel.C.
CollisionModel | ( | const CollisionModel< CloudType > & | cm | ) |
Construct copy.
Definition at line 51 of file CollisionModel.C.
|
virtual |
Destructor.
Definition at line 62 of file CollisionModel.C.
TypeName | ( | "collisionModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
CollisionModel | , | ||
dictionary | , | ||
(const dictionary &dict, CloudType &owner) | , | ||
(dict, owner) | |||
) |
Declare runtime constructor selection table.
|
pure virtual |
Construct and return a clone.
|
static |
Selector.
Definition at line 33 of file CollisionModelNew.C.
|
pure virtual |
Return the number of times to subcycle the current.
timestep to meet the criteria of the collision model
|
pure virtual |
Indicates whether model determines wall collisions or not,.
used to determine what value to use for wallImpactDistance
|
pure virtual |
Implemented in PairCollision< CloudType >, and NoCollision< CloudType >.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.