Simple wrapper to provide an optional reference to a Lagrangian model. More...
Public Member Functions | |
| LagrangianModelRef () | |
| Construct null. More... | |
| LagrangianModelRef (const LagrangianModel &ref) | |
| Construct for given reference. More... | |
| bool | valid () const |
| Check if the reference is valid. More... | |
| const LagrangianModel & | operator() () const |
| Access the reference. More... | |
Simple wrapper to provide an optional reference to a Lagrangian model.
Definition at line 48 of file LagrangianModelRef.H.
|
inline |
Construct null.
Definition at line 32 of file LagrangianModelRefI.H.
|
inline |
Construct for given reference.
Definition at line 38 of file LagrangianModelRefI.H.
|
inline |
Check if the reference is valid.
Definition at line 46 of file LagrangianModelRefI.H.
References Foam::notNull().

|
inline |
Access the reference.
Definition at line 54 of file LagrangianModelRefI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::blendedInterfacialModel::valid().
