27 #include "writeFuns.H" 37 const fileName& fName,
38 const word& cloudName,
45 cloudName_(cloudName),
48 const fvMesh& mesh = vMesh_.
mesh();
58 os_ <<
"POINTS " << nParcels_ <<
" float" <<
std::endl;
62 Cloud<passiveParticle> parcels(mesh, cloudName_,
false);
64 nParcels_ = parcels.size();
66 os_ <<
"POINTS " << nParcels_ <<
" float" <<
std::endl;
68 DynamicList<floatScalar> partField(3*parcels.size());
83 os_ <<
"POINT_DATA " << nParcels_ << std::endl
84 <<
"FIELD attributes " << nFields
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 writeHeader(std::ostream &, const bool isBinary, const std::string &title)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void insert(const point &, DynamicList< floatScalar > &dest)
Append point to given DynamicList.
const fvMesh & mesh() const
Access either mesh or submesh.
static void write(std::ostream &, const bool, DynamicList< floatScalar > &)
Write floats ascii or binary.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
lagrangianWriter(const vtkMesh &, const bool binary, const fileName &, const word &, const bool dummyCloud)
Construct from components.
void writeParcelHeader(const label nFields)