Base class for function objects that refer to a cloud. Provides hooks into the cloud solution process. Not a function object in itself. Must be mixed in. More...

Public Member Functions | |
| TypeName ("cloudFunctionObject") | |
| Runtime type information. More... | |
| cloudFunctionObject (const LagrangianMeshFunctionObject &) | |
| Construct from a Lagrangian mesh function object. More... | |
| cloudFunctionObject (const fvMeshFunctionObject &, const dictionary &dict) | |
| Construct from an fvMesh function object and a dictionary. More... | |
| cloudFunctionObject (const cloudFunctionObject &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~cloudFunctionObject () |
| Destructor. More... | |
| const Foam::cloud & | cloud () const |
| Return the cloud. More... | |
| virtual void | preSolve () |
| Hook before solution steps. More... | |
| virtual void | calculate (const LagrangianSubScalarField &deltaT, const bool final) |
| Solve equations and/or update continually changing properties. More... | |
| virtual void | preCrossFaces (const LagrangianScalarInternalDynamicField &fraction) |
| Hook before all face crossings. More... | |
| virtual void | preCrossFaces (const LagrangianSubScalarSubField &fraction) |
| Hook before face crossings of a specific sub-mesh. More... | |
| virtual void | postCrossFaces (const LagrangianSubScalarSubField &fraction) |
| Hook following face crossings of a specific sub-mesh. More... | |
| virtual void | postCrossFaces (const LagrangianScalarInternalDynamicField &fraction) |
| Hook after all face crossings. More... | |
| virtual void | postSolve () |
| Hook following solution steps. More... | |
| void | operator= (const cloudFunctionObject &)=delete |
| Disallow default bitwise assignment. More... | |
Protected Member Functions | |
| template<class Cloud > | |
| bool | isCloud () const |
| Determine whether the cloud is of the given type. More... | |
| template<class Cloud = Foam::cloud> | |
| const Cloud & | cloud () const |
| Get a reference to the cloud. More... | |
Base class for function objects that refer to a cloud. Provides hooks into the cloud solution process. Not a function object in itself. Must be mixed in.
Definition at line 58 of file cloudFunctionObject.H.
| cloudFunctionObject | ( | const LagrangianMeshFunctionObject & | function | ) |
Construct from a Lagrangian mesh function object.
Definition at line 45 of file cloudFunctionObject.C.
| cloudFunctionObject | ( | const fvMeshFunctionObject & | function, |
| const dictionary & | dict | ||
| ) |
Construct from an fvMesh function object and a dictionary.
Definition at line 58 of file cloudFunctionObject.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 77 of file cloudFunctionObject.C.
|
protected |
Determine whether the cloud is of the given type.
Definition at line 32 of file cloudFunctionObjectTemplates.C.
Get a reference to the cloud.
Definition at line 39 of file cloudFunctionObjectTemplates.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by cloudFunctionObjectUList::cloudFunctionObjectUList().


| TypeName | ( | "cloudFunctionObject" | ) |
Runtime type information.
| const Foam::cloud & cloud | ( | ) | const |
Return the cloud.
Definition at line 83 of file cloudFunctionObject.C.
|
virtual |
Hook before solution steps.
Reimplemented in cloudLagrangianVolumeFraction, cloudKineticEnergy, cloudGravitationalPotentialEnergy, cloudFlux, and cloudBoundaryCollisionFlux.
Definition at line 89 of file cloudFunctionObject.C.
Referenced by cloudFunctionObjectUList::cloudFunctionObjectUList().

|
virtual |
Solve equations and/or update continually changing properties.
Reimplemented in cloudVolume, cloudSurfaceArea, cloudMass, and cloudAge.
Definition at line 93 of file cloudFunctionObject.C.
|
virtual |
Hook before all face crossings.
Reimplemented in cloudSurfaceDistribution, cloudFlux, cloudBoundaryCollisionFlux, and cloudBoundaryCollisionFlux.
Definition at line 101 of file cloudFunctionObject.C.
|
virtual |
Hook before face crossings of a specific sub-mesh.
Reimplemented in cloudSurfaceDistribution, cloudFlux, cloudBoundaryCollisionFlux, and cloudBoundaryCollisionFlux.
|
virtual |
Hook following face crossings of a specific sub-mesh.
Reimplemented in cloudSurfaceDistribution, cloudFlux, cloudBoundaryCollisionFlux, and cloudBoundaryCollisionFlux.
Definition at line 115 of file cloudFunctionObject.C.
|
virtual |
Hook after all face crossings.
Reimplemented in cloudSurfaceDistribution, cloudFlux, cloudBoundaryCollisionFlux, and cloudBoundaryCollisionFlux.
|
virtual |
Hook following solution steps.
Definition at line 129 of file cloudFunctionObject.C.
|
delete |
Disallow default bitwise assignment.