32 template<
class ParcelType>
36 template<
class ParcelType>
39 sizeof(MPPICParcel<ParcelType>) -
sizeof(ParcelType)
45 template<
class ParcelType>
59 is.
read(
reinterpret_cast<char*
>(&
id_), sizeofFields_);
65 "MPPICParcel<ParcelType>::Collisions"
66 "(const polyMesh&, Istream&, bool)"
71 template<
class ParcelType>
72 template<
class CloudType>
79 template<
class ParcelType>
80 template<
class CloudType>
83 ParcelType::writeFields(
c);
89 template<
class ParcelType>
98 os << static_cast<const ParcelType&>(
p)
103 os << static_cast<const ParcelType&>(
p);
106 reinterpret_cast<const char*
>(&
p.id_),
107 MPPICParcel<ParcelType>::sizeofFields_
113 "Ostream& operator<<(Ostream&, const MPPICParcel<ParcelType>&)"
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Templated base class for dsmc cloud.
streamFormat format() const
Return current stream format.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual Istream & read(token &)=0
Return next token from stream.
Wrapper around parcel types to add MPPIC modelling.
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.
static void writeFields(const CloudType &c)
Write.
static void readFields(CloudType &c)
Read.
labelPair id_
Processor and particle ID at the start of a tracking step. Allows.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A class for handling character strings derived from std::string.
const dimensionedScalar c
Speed of light in a vacuum.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the specified type.