Base class for Lagrangian models that refer to a cloud. Not a Lagrangian model in itself. Must be mixed in. More...

Public Member Functions | |
| TypeName ("cloudLagrangianModel") | |
| Runtime type information. More... | |
| cloudLagrangianModel (const LagrangianModel &) | |
| Construct from a Lagrangian model. More... | |
| virtual | ~cloudLagrangianModel () |
| Destructor. More... | |
Protected Member Functions | |
| template<class Cloud , class ... Clouds> | |
| bool | isCloud () const |
| Determine whether the cloud is one of the given types. More... | |
| template<class Cloud , class ... Clouds> | |
| void | assertCloud () const |
| Generate an error if the cloud is not one of the given types. More... | |
| template<class Cloud = Foam::cloud> | |
| const Cloud & | cloud () const |
| Get a reference to the cloud. More... | |
Base class for Lagrangian models that refer to a cloud. Not a Lagrangian model in itself. Must be mixed in.
Definition at line 51 of file cloudLagrangianModel.H.
| cloudLagrangianModel | ( | const LagrangianModel & | model | ) |
Construct from a Lagrangian model.
Definition at line 38 of file cloudLagrangianModel.C.
|
virtual |
Destructor.
Definition at line 47 of file cloudLagrangianModel.C.
|
protected |
Determine whether the cloud is one of the given types.
Definition at line 33 of file cloudLagrangianModelTemplates.C.
References Foam::isA().

|
protected |
Generate an error if the cloud is not one of the given types.
Definition at line 40 of file cloudLagrangianModelTemplates.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Get a reference to the cloud.
Definition at line 55 of file cloudLagrangianModelTemplates.C.
Referenced by turbulentDispersion::initialiseTurbField().

| TypeName | ( | "cloudLagrangianModel" | ) |
Runtime type information.