Go to the documentation of this file.
47 if (Pstream::parRun())
51 if (Pstream::master(comm_))
57 for (
const int slave : Pstream::subProcs(comm_))
61 Pstream::commsTypes::scheduled,
63 reinterpret_cast<char*
>
65 &(X[procOffsets_[slave]])
67 (procOffsets_[slave+1]-procOffsets_[slave])*
sizeof(Type),
77 Pstream::commsTypes::scheduled,
86 if (Pstream::master(comm_))
92 for (
const int slave : Pstream::subProcs(comm_))
96 Pstream::commsTypes::scheduled,
98 reinterpret_cast<const char*
>
100 &(X[procOffsets_[slave]])
102 (procOffsets_[slave+1]-procOffsets_[slave])*
sizeof(Type),
112 Pstream::commsTypes::scheduled,
136 solve(tx.ref(), source);
void resize(const label len)
Adjust allocated size of list.
A class for managing temporary objects.
A List obtained as a section of another List.
Generic templated field type.
void solve(List< Type > &x, const UList< Type > &source) const
Solve the linear system with the given source.
void LUBacksubstitute(const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, List< Type > &source)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)