Go to the documentation of this file.
43 for (label i=0; i <
n; ++i)
45 for (
direction cmpt=0; cmpt < nCmpt; ++cmpt)
60 for (
const Type& val :
values)
67 template<
class Type,
unsigned N>
74 for (
const Type& val :
values)
89 for (
const label idx : addressing)
104 for (
const label idx : selected)
132 if (Pstream::master())
139 for (
const int slave : Pstream::subProcs())
141 IPstream fromSlave(Pstream::commsTypes::blocking, slave);
153 Pstream::commsTypes::blocking,
170 if (Pstream::master())
177 for (
const int slave : Pstream::subProcs())
179 IPstream fromSlave(Pstream::commsTypes::blocking, slave);
191 Pstream::commsTypes::blocking,
195 toMaster << List<Type>(
values, addressing);
208 if (Pstream::master())
215 for (
const int slave : Pstream::subProcs())
217 IPstream fromSlave(Pstream::commsTypes::blocking, slave);
229 Pstream::commsTypes::blocking,
246 if (Pstream::master())
254 for (
const int slave : Pstream::subProcs())
256 IPstream fromSlave(Pstream::commsTypes::blocking, slave);
258 fromSlave >> recv1 >> recv2;
269 Pstream::commsTypes::blocking,
273 toMaster << values1 << values2;
287 if (Pstream::master())
295 for (
const int slave : Pstream::subProcs())
297 IPstream fromSlave(Pstream::commsTypes::blocking, slave);
299 fromSlave >> recv1 >> recv2;
310 Pstream::commsTypes::blocking,
314 toMaster << values1 << List<Type>(values2, addressing);
void writeListParallel(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
Output inter-processor communications stream.
List< T > subset(const BoolListType &select, const UList< T > &input, const bool invert=false)
Extract elements of the input list when select is true.
void writeListsParallel(vtk::formatter &fmt, const UList< Type > &values1, const UList< Type > &values2)
Write a list of values and another list of values.
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
void writeLists(vtk::formatter &fmt, const UList< Type > &values1, const UList< Type > &values2, const labelUList &addressing)
Write a list of values and a list of values via indirect addressing.
Traits class for primitives.
A 1D vector of objects of type <T> with a fixed length <N>.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Input inter-processor communications stream.
Various functions to operate on Lists.