MPPICParcel< ParcelType >::trackingData Class Reference
Inheritance diagram for MPPICParcel< ParcelType >::trackingData:
[legend]
Collaboration diagram for MPPICParcel< ParcelType >::trackingData:
[legend]

Public Types

enum  trackPart { tpLinearTrack, tpDampingNoTrack, tpPackingNoTrack, tpCorrectTrack }
 

Public Member Functions

template<class TrackCloudType >
 trackingData (const TrackCloudType &cloud, trackPart part=tpLinearTrack)
 Constructors. More...
 
template<class TrackCloudType >
void updateAverages (const TrackCloudType &cloud)
 Update the MPPIC averages. More...
 
trackPart part () const
 Access. More...
 
trackPartpart ()
 Non const access to the tracking part label. More...
 

Detailed Description

template<class ParcelType>
class Foam::MPPICParcel< ParcelType >::trackingData

Definition at line 87 of file MPPICParcel.H.

Member Enumeration Documentation

◆ trackPart

enum trackPart
Enumerator
tpLinearTrack 
tpDampingNoTrack 
tpPackingNoTrack 
tpCorrectTrack 

Definition at line 94 of file MPPICParcel.H.

Constructor & Destructor Documentation

◆ trackingData()

trackingData ( const TrackCloudType &  cloud,
trackPart  part = tpLinearTrack 
)
inline

Constructors.

Construct from components

Definition at line 36 of file MPPICParcelTrackingDataI.H.

Member Function Documentation

◆ updateAverages()

void updateAverages ( const TrackCloudType &  cloud)
inline

Update the MPPIC averages.

Definition at line 147 of file MPPICParcelTrackingDataI.H.

References AveragingMethod< Type >::add(), AveragingMethod< Type >::average(), IOobject::db(), f(), Foam::mag(), Foam::magSqr(), IOobject::name(), p, Foam::pow(), Foam::pow3(), Foam::sqr(), objectRegistry::time(), Time::timeName(), and Foam::Zero.

Here is the call graph for this function:

◆ part() [1/2]

Foam::MPPICParcel< ParcelType >::trackingData::trackPart part ( ) const
inline

Access.

Const access to the tracking part label

Definition at line 249 of file MPPICParcelTrackingDataI.H.

Referenced by MPPICParcel< ParcelType >::move().

Here is the caller graph for this function:

◆ part() [2/2]

Foam::MPPICParcel< ParcelType >::trackingData::trackPart & part ( )
inline

Non const access to the tracking part label.

Definition at line 257 of file MPPICParcelTrackingDataI.H.


The documentation for this class was generated from the following files: