33 template <
class ParcelType>
48 if (is.format() == IOstream::ASCII)
52 typeId_ = readLabel(is);
58 reinterpret_cast<char*>(&U_),
69 "DsmcParcel<ParcelType>::DsmcParcel"
70 "(const Cloud<ParcelType>&, Istream&, bool)"
75 template<
class ParcelType>
97 ParcelType&
p = iter();
101 p.typeId_ = typeId[i];
107 template<
class ParcelType>
137 template<
class ParcelType>
144 if (os.
format() == IOstream::ASCII)
146 os << static_cast<const Particle<ParcelType>& >(
p)
147 << token::SPACE <<
p.U()
148 << token::SPACE <<
p.Ei()
149 << token::SPACE <<
p.typeId();
153 os << static_cast<const Particle<ParcelType>& >(
p);
156 reinterpret_cast<const char*>(&
p.U_),
166 "Ostream& operator<<(Ostream&, const DsmcParcel<ParcelType>&)"