Templated stochastic collision model class. More...
Public Member Functions | |
TypeName ("collisionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, StochasticCollisionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
StochasticCollisionModel (CloudType &owner) | |
Construct null from owner. More... | |
StochasticCollisionModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from dictionary. More... | |
StochasticCollisionModel (const StochasticCollisionModel< CloudType > &cm) | |
Construct copy. More... | |
virtual autoPtr< StochasticCollisionModel< CloudType > > | clone () const =0 |
Construct and return a clone. More... | |
virtual | ~StochasticCollisionModel () |
Destructor. More... | |
void | update (const scalar dt) |
Update the model. More... | |
Static Public Member Functions | |
static autoPtr< StochasticCollisionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Protected Member Functions | |
virtual void | collide (const scalar dt)=0 |
Main collision routine. More... | |
Templated stochastic collision model class.
Definition at line 88 of file KinematicCloud.H.
StochasticCollisionModel | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 32 of file StochasticCollisionModel.C.
StochasticCollisionModel | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type | ||
) |
Construct from dictionary.
Definition at line 52 of file StochasticCollisionModel.C.
StochasticCollisionModel | ( | const StochasticCollisionModel< CloudType > & | cm | ) |
Construct copy.
Definition at line 42 of file StochasticCollisionModel.C.
|
virtual |
Destructor.
Definition at line 65 of file StochasticCollisionModel.C.
|
protectedpure virtual |
Main collision routine.
Implemented in ORourkeCollision< CloudType >, TrajectoryCollision< CloudType >, SuppressionCollision< CloudType >, and NoStochasticCollision< CloudType >.
TypeName | ( | "collisionModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
StochasticCollisionModel | , | ||
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 StochasticCollisionModelNew.C.
void update | ( | const scalar | dt | ) |
Update the model.
Definition at line 72 of file StochasticCollisionModel.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.