Base case for selecting a collision model. More...
#include <dieselSpray/collisionModel.H>
Public Member Functions | |
TypeName ("collisionModel") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, collisionModel, dictionary,(const dictionary &dict, spray &sm, Random &rndGen),(dict, sm, rndGen)) | |
collisionModel (const dictionary &dict, spray &sm, Random &rndGen) | |
Construct from components. | |
virtual | ~collisionModel () |
virtual void | collideParcels (const scalar dt) const =0 |
Static Public Member Functions | |
static autoPtr< collisionModel > | New (const dictionary &dict, spray &sm, Random &rndGen) |
Protected Attributes | |
const dictionary & | dict_ |
spray & | spray_ |
Random & | rndGen_ |
collisionModel | ( | const dictionary & | dict, |
spray & | sm, | ||
Random & | rndGen | ||
) |
Construct from components.
Definition at line 44 of file collisionModel.C.
|
virtual |
Definition at line 59 of file collisionModel.C.
TypeName | ( | "collisionModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
collisionModel | , | ||
dictionary | , | ||
(const dictionary &dict, spray &sm, Random &rndGen) | , | ||
(dict, sm, rndGen) | |||
) |
|
static |
Definition at line 41 of file newCollisionModel.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, Foam::Info, dictionary::lookup(), and Foam::nl.
|
pure virtual |
Implemented in trajectoryCollisionModel, ORourkeCollisionModel, and noCollision.
Referenced by spray::evolve().
|
protected |
Definition at line 57 of file collisionModel.H.
|
protected |
Definition at line 58 of file collisionModel.H.
Referenced by ORourkeCollisionModel::collideParcels(), and trajectoryCollisionModel::collideParcels().
|
protected |
Definition at line 59 of file collisionModel.H.