21 const fileName cloudPrefix = (
regionDir/cloud::prefix);
23 wordList cloudNames = ListOps::create<word>
27 mesh.time().path()/
mesh.time().timeName()/cloudPrefix,
33 Pstream::combineReduce(cloudNames, ListOps::uniqueEqOp<word>());
41 if (cloudObjs.erase(
"coordinates"))
45 if (cloudObjs.erase(
"positions"))
64 vtk::lagrangianWriter
writer
77 Info<<
" Lagrangian: "
86 writer.writeFields<label>(cloudObjs);
87 writer.writeFields<scalar>(cloudObjs);
97 if (UPstream::master())
101 fileName seriesName(vtk::seriesWriter::base(
outputName));
103 vtk::seriesWriter& series = vtkSeries(seriesName);
110 series.load(seriesName,
true, timeValue);
114 series.write(seriesName);
const word cloudName(propsDict.get< word >("cloud"))
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/(vtkBaseFileName+"-edgesCentres")))
Tensor of scalars, i.e. Tensor<scalar>.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
word outputName("finiteArea-edges.obj")
bool is_basic(const word &clsName)
Test if the class name appears to be a basic field.
bool returnReduceOr(const bool value, const int communicator=UPstream::worldComm)
Perform logical (or) MPI Allreduce on a copy. Uses UPstream::reduceOr.
messageStream Info
Information stream (stdout output on master, null elsewhere).
bool returnReduceAnd(const bool value, const int communicator=UPstream::worldComm)
Perform logical (and) MPI Allreduce on a copy. Uses UPstream::reduceAnd.
void sort(UList< T > &list)
Sort the list.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
constexpr char nl
The newline '\n' character (0x0a).
Foam::argList args(argc, argv)