52 template<
class ParcelType>
56 class AveragingMethod;
60 template<
class ParcelType>
78 template<
class ParcelType>
82 public MPPICParcelName
87 static const std::size_t sizeofFields_;
94 public ParcelType::trackingData
129 template<
class TrackCloudType>
134 template<
class TrackCloudType>
166 const label tetFacei,
178 label& nLocateBoundaryHits
216 template<
class CloudType>
220 template<
class CloudType>
226 friend Ostream& operator<< <ParcelType>
Templated base class for dsmc cloud.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
trackingData(const TrackCloudType &cloud)
Constructors.
void updateAverages(const TrackCloudType &cloud)
Update the MPPIC averages.
Wrapper around parcel types to add MPPIC modelling.
AddToPropertyList(ParcelType, "")
String representation of properties.
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.
virtual autoPtr< particle > clone() const
Construct and return a clone.
static void writeFields(const CloudType &c)
Write.
static autoPtr< MPPICParcel > New(Istream &is)
Construct from Istream and return.
static void readFields(CloudType &c)
Read.
labelPair id_
Processor and particle ID at the start of a tracking step. Allows.
const labelPair & id() const
Return const access to the identifier.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
Mesh consisting of general polyhedral cells.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionedScalar c
Speed of light in a vacuum.
barycentric coordinates(const polyMesh &mesh, const point &position, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the coordinates given the position and tet topology.
point position(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the position given the coordinates and tet topology.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
TemplateName(FvFaceCellWave)