38 sizeof(DTRMParticle) -
sizeof(particle)
64 is >> p0_ >> p1_ >> I0_ >> I_ >> dA_ >> transmissiveId_;
66 else if (!is.checkLabelSize<>() || !is.checkScalarSize<>())
74 readRawScalar(is, &I0_);
75 readRawScalar(is, &I_);
76 readRawScalar(is, &dA_);
94 const wordRes& filters,
102 #define writeProp(Name, Value) \ 103 particle::writeProperty(os, Name, Value, namesOnly, delim, filters) 110 writeProp(
"transmissiveId", transmissiveId_);
120 os << static_cast<const particle&>(
p)
130 os << static_cast<const particle&>(
p);
133 reinterpret_cast<const char*>(&
p.p0_),
static string propertyList_
String representation of properties.
DTRMParticle(const polyMesh &mesh, const vector &position, const vector &targetPosition, const scalar I, const label cellI, const scalar dA, const label transmissiveId)
Construct from components, with searching for tetFace and.
#define writeProp(Name, Value)
::Foam::direction nComponents(const expressions::valueTypeCode) noexcept
The number of components associated with given valueTypeCode.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
label readRawLabel(Istream &is)
Read raw label from binary stream.
static void readFields(TrackCloudType &c)
Read the fields associated with the owner cloud.
static const std::size_t sizeofFields_
Size in bytes of the fields.
void writeProperties(Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly) const
Write individual particle properties to stream.
A class for handling character strings derived from std::string.
void writeProperties(Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly=false) const
Write individual parcel properties to stream.
static string propertyList()
static constexpr const zero Zero
Global zero (0)