Wrapper around parcel types to add MPPIC modelling. More...
Classes | |
class | trackingData |
Public Member Functions | |
AddToPropertyList (ParcelType, "") | |
String representation of properties. More... | |
MPPICParcel (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei) | |
Construct from mesh, coordinates and topology. More... | |
MPPICParcel (const polyMesh &mesh, const vector &position, const label celli) | |
Construct from a position and a cell, searching for the rest of the. More... | |
MPPICParcel (Istream &is, bool readFields=true) | |
Construct from Istream. More... | |
MPPICParcel (const MPPICParcel &p) | |
Construct as a copy. More... | |
virtual autoPtr< particle > | clone () const |
Construct and return a clone. More... | |
const labelPair & | id () const |
Return const access to the identifier. More... | |
labelPair & | id () |
Return access to the identifier. More... | |
Static Public Member Functions | |
static autoPtr< MPPICParcel > | New (Istream &is) |
Construct from Istream and return. More... | |
template<class CloudType > | |
static void | readFields (CloudType &c) |
Read. More... | |
template<class CloudType > | |
static void | writeFields (const CloudType &c) |
Write. More... | |
Protected Attributes | |
labelPair | id_ |
Processor and particle ID at the start of a tracking step. Allows. More... | |
Friends | |
Ostream & | operator (Ostream &, const MPPICParcel< ParcelType > &) |
Wrapper around parcel types to add MPPIC modelling.
Definition at line 78 of file MPPICParcel.H.
|
inline |
Construct from mesh, coordinates and topology.
Other properties initialised as null
Definition at line 31 of file MPPICParcelI.H.
Referenced by MPPICParcel< ParcelType >::clone(), and MPPICParcel< ParcelType >::New().
|
inline |
Construct from a position and a cell, searching for the rest of the.
required topology. Other properties are initialised as null.
Definition at line 47 of file MPPICParcelI.H.
MPPICParcel | ( | Istream & | is, |
bool | readFields = true |
||
) |
Construct from Istream.
Definition at line 46 of file MPPICParcelIO.C.
References IOstream::ASCII, IOstream::check(), IOstream::format(), MPPICParcel< ParcelType >::id_, Istream::read(), and MPPICParcel< ParcelType >::readFields().
MPPICParcel | ( | const MPPICParcel< ParcelType > & | p | ) |
Construct as a copy.
AddToPropertyList | ( | ParcelType | , |
"" | |||
) |
String representation of properties.
Construct and return a clone.
Definition at line 186 of file MPPICParcel.H.
References MPPICParcel< ParcelType >::MPPICParcel().
|
inlinestatic |
Construct from Istream and return.
Definition at line 192 of file MPPICParcel.H.
References MPPICParcel< ParcelType >::MPPICParcel().
|
inline |
Return const access to the identifier.
Definition at line 62 of file MPPICParcelI.H.
|
inline |
Return access to the identifier.
Definition at line 69 of file MPPICParcelI.H.
|
static |
Read.
Definition at line 73 of file MPPICParcelIO.C.
References Foam::constant::universal::c, and Foam::readFields().
Referenced by MPPICParcel< ParcelType >::MPPICParcel().
|
static |
|
friend |
|
protected |
Processor and particle ID at the start of a tracking step. Allows.
values calculated at the end of the step to be mapped back to the starting state, in order to initialise a second corrector step.
Definition at line 145 of file MPPICParcel.H.
Referenced by MPPICParcel< ParcelType >::MPPICParcel().