Go to the documentation of this file.
32 template<
class ParcelType>
36 template<
class ParcelType>
39 sizeof(MPPICParcel<ParcelType>) -
sizeof(ParcelType)
45 template<
class ParcelType>
70 "MPPICParcel<ParcelType>::Collisions"
71 "(const polyMesh&, Istream&, bool)"
76 template<
class ParcelType>
77 template<
class CloudType>
88 c.checkFieldIOobject(
c, UCorrect);
96 p.UCorrect_ = UCorrect[i];
103 template<
class ParcelType>
104 template<
class CloudType>
107 ParcelType::writeFields(
c);
120 UCorrect[i] =
p.UCorrect();
131 template<
class ParcelType>
140 os << static_cast<const ParcelType&>(
p)
145 os << static_cast<const ParcelType&>(
p);
148 reinterpret_cast<const char*
>(&
p.UCorrect_),
155 "Ostream& operator<<(Ostream&, const MPPICParcel<ParcelType>&)"
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
virtual bool write() const
Write using setting from DB.
A class for handling character strings derived from std::string.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
vector UCorrect_
Velocity correction due to collisions [m/s].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static void readFields(CloudType &c)
Read.
Wrapper around kinematic parcel types to add MPPIC modelling.
static void writeFields(const CloudType &c)
Write.
static const std::size_t sizeofFields_
Size in bytes of the fields.
Templated base class for dsmc cloud.
Vector< scalar > vector
A scalar version of the templated Vector.
void readFields(const boolList &haveMesh, const fvMesh &mesh, const autoPtr< fvMeshSubset > &subsetterPtr, IOobjectList &allObjects, PtrList< GeoField > &fields)
const dimensionedScalar c
Speed of light in a vacuum.
MPPICParcel(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from owner, position, and cloud owner.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...