Simple wrapper to provide an optional reference to a Lagrangian model. More...
Public Member Functions | |
| LagrangianModelRef () | |
| Construct null. More... | |
| LagrangianModelRef (const LagrangianSource &source, const LagrangianSubScalarField &S) | |
| Construct for a source. More... | |
| LagrangianModelRef (const LagrangianInjection &injection) | |
| Construct for an injection. More... | |
| bool | isSource () const |
| Check if the source reference is valid. More... | |
| const LagrangianSource & | source () const |
| Access the source model. More... | |
| const LagrangianSubScalarField & | S () const |
| Access the source field. More... | |
| bool | isInjection () const |
| Check if the injection reference is valid. More... | |
| const LagrangianInjection & | injection () const |
| Access the injection model. More... | |
Simple wrapper to provide an optional reference to a Lagrangian model.
Definition at line 51 of file LagrangianModelRef.H.
|
inline |
Construct null.
Definition at line 30 of file LagrangianModelRefI.H.
|
inline |
Construct for a source.
Definition at line 38 of file LagrangianModelRefI.H.
|
inline |
Construct for an injection.
Definition at line 50 of file LagrangianModelRefI.H.
|
inline |
Check if the source reference is valid.
Definition at line 63 of file LagrangianModelRefI.H.
References Foam::notNull().
Referenced by CloudStateFieldRef< Type >::operator()().


|
inline |
Access the source model.
Definition at line 70 of file LagrangianModelRefI.H.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by CloudStateFieldRef< Type >::operator()().


|
inline |
Access the source field.
Definition at line 84 of file LagrangianModelRefI.H.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
inline |
Check if the injection reference is valid.
Definition at line 97 of file LagrangianModelRefI.H.
References Foam::notNull().
Referenced by CloudStateFieldRef< Type >::operator()().


|
inline |
Access the injection model.
Definition at line 104 of file LagrangianModelRefI.H.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by CloudStateFieldRef< Type >::operator()().

