46 UPtrList<functionObjects::cloudFunctionObject>
48 c.time().functionObjects().size()
54 label cloudFunctioni = 0;
56 forAll(functions, functioni)
59 isA<functionObjects::timeControl>(functions[functioni])
60 ? refCast<const functionObjects::timeControl>
64 : functions[functioni];
66 if (!isA<functionObjects::cloudFunctionObject>(fo))
continue;
69 refCast<const functionObjects::cloudFunctionObject>(fo);
71 if (&cfo.
cloud() != &
c)
continue;
84 forAll(*
this, cloudFunctioni)
97 forAll(*
this, cloudFunctioni)
99 this->operator[](cloudFunctioni).postSolve();
112 forAll(*
this, cloudFunctioni)
114 this->operator[](cloudFunctioni).calculate(deltaT,
final);
124 forAll(*
this, cloudFunctioni)
126 this->operator[](cloudFunctioni).preCrossFaces(fraction);
154 forAll(*
this, cloudFunctioni)
156 this->operator[](cloudFunctioni).preCrossFaces(fraction);
166 forAll(*
this, cloudFunctioni)
168 this->operator[](cloudFunctioni).postCrossFaces(fraction);
196 forAll(*
this, cloudFunctioni)
198 this->operator[](cloudFunctioni).postCrossFaces(fraction);
#define forAll(list, i)
Loop across all elements in list.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const LagrangianMesh & mesh() const
Return the mesh reference.
const LagrangianBoundaryMesh & boundary() const
Return reference to boundary mesh.
LagrangianSubMesh sub(const LagrangianGroup group) const
Return a sub-mesh for the given group.
SubList< Type > sub(const List< Type > &list) const
Return a sub-list corresponding to this sub-mesh.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
void resize(const label)
Reset size of UPtrList. This can only be used to set the size.
const functionObjects::cloudFunctionObject & operator[](const label) const
Return element const reference.
List of references to the cloud function objects. Designed to be constructed temporarily for the scop...
virtual ~cloudFunctionObjectUList()
Destructor.
cloudFunctionObjectUList(const cloud &, const bool inner=false)
Construct from a cloud.
virtual void postCrossFaces(const LagrangianSubScalarSubField &fraction)
Hook following face crossings of a specific sub-mesh.
virtual void calculate(const LagrangianSubScalarField &deltaT, const bool final)
Solve equations and/or update continually changing properties.
virtual void preCrossFaces(const LagrangianScalarInternalDynamicField &fraction)
Hook before face crossings.
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
List of function objects with start(), execute() and end() functions that is called for each object.
Abstract base-class for Time/database functionObjects.
Base class for function objects that refer to a cloud. Provides hooks into the cloud solution process...
virtual void preSolve()
Hook before solution steps.
const Cloud & cloud() const
Get a reference to the cloud.
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelList first(const UList< labelPair > &p)
defineTypeNameAndDebug(combustionModel, 0)