36 sizeof(solidParticle) -
sizeof(particle)
64 readRawScalar(is, &d_);
81 bool valid = c.size();
86 c.checkFieldIOobject(c, d);
89 c.checkFieldIOobject(c,
U);
105 const label np = c.size();
129 os << static_cast<const particle&>(
p)
135 os << static_cast<const particle&>(
p);
138 reinterpret_cast<const char*
>(&
p.d_),
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Base cloud calls templated on particle type.
A primitive field of type <T> with automated input and output.
streamFormat format() const noexcept
Get the current stream format.
std::enable_if< std::is_integral< T >::value, bool >::type checkLabelSize() const noexcept
virtual bool check(const char *operation) const
Check IOstream status for given operation.
std::enable_if< std::is_floating_point< T >::value, bool >::type checkScalarSize() const noexcept
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool endRawRead()=0
End of low-level raw binary read.
virtual bool beginRawRead()=0
Start of low-level raw binary read.
virtual Istream & read(token &)=0
Return next token from stream.
virtual Ostream & write(const char c)
Write character.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeFields() const
Write fields.
Reads fields from the time directories and adds them to the mesh database for further post-processing...
static constexpr direction nComponents
Number of components in bool is 1.
Mesh consisting of general polyhedral cells.
virtual bool write(const bool valid=true) const
Write using setting from DB.
Simple solid spherical particle class with one-way coupling with the continuous phase.
static const std::size_t sizeofFields
Size in bytes of the fields.
static void readFields(Cloud< solidParticle > &c)
OBJstream os(runTime.globalPath()/outputName)
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)