37 const label nTotParcels
48 "Label and Floating-point vector space only" 68 for (
const word& fieldName : fieldNames)
77 const uint64_t payLoad =
78 vtk::sizeofData<label, nCmpt>(nTotParcels);
80 format().beginDataArray<label, nCmpt>(fieldName);
81 format().writeSize(payLoad);
85 const uint64_t payLoad =
86 vtk::sizeofData<float, nCmpt>(nTotParcels);
88 format().beginDataArray<float, nCmpt>(fieldName);
89 format().writeSize(payLoad);
void size(const label n)
Older name for setAddressableSize.
wordList names() const
The unsorted names of all objects.
A traits class, which is primarily used for primitives and vector-space.
const Type * findObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
bitSet parcelAddr_
The filtered parcel addressing. Eg, for the current cloud.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
A class for handling words, derived from Foam::string.
void sort(UList< T > &list)
Sort the list.
List helper to append y unique elements onto the end of x.
static void combineReduce(T &value, const CombineOp &cop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Reduce inplace (cf. MPI Allreduce) applying cop to inplace combine value from different processors...
word format(conversionProperties.get< word >("format"))
static bool master(const label communicator=worldComm)
True if process corresponds to the master rank in the communicator.
void writeListParallel(vtk::formatter &fmt, const UList< Type > &values)
Write a list of values.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Registry of regIOobjects.
A primitive field of type <T> with automated input and output.
virtual const objectRegistry & obr() const
The region or sub-region registry being used.
static const List< T > & null() noexcept
Return a null List (reference to a nullObject). Behaves like an empty List.