63 reinterpret_cast<char*>
65 &(X[procOffsets_[proci]])
67 (procOffsets_[proci+1]-procOffsets_[proci])*
sizeof(Type),
98 reinterpret_cast<const char*>
100 &(X[procOffsets_[proci]])
102 (procOffsets_[proci+1]-procOffsets_[proci])*
sizeof(Type),
131 const UList<Type>& source
134 auto tx(tmp<Field<Type>>::
New(m()));
136 solve(tx.ref(), source);
void solve(List< Type > &x, const UList< Type > &source) const
Solve the linear system with the given source.
static bool write(const UPstream::commsTypes commsType, const int toProcNo, const char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Write buffer contents to given processor.
SolverPerformance< Type > solve(faMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
void resize(const label len)
Adjust allocated size of list.
static bool & parRun() noexcept
Test if this a parallel run.
static int & msgType() noexcept
Message tag of standard messages.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
"scheduled" : (MPI_Send, MPI_Recv)
static constexpr int masterNo() noexcept
Process index of the master (always 0)
label m() const noexcept
The number of rows.
static bool master(const label communicator=worldComm)
Am I the master rank.
static rangeType subProcs(const label communicator=worldComm)
Range of process indices for sub-processes.
A class for managing temporary objects.
static label read(const commsTypes commsType, const int fromProcNo, char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Read buffer contents from given processor.
void LUBacksubstitute(const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, List< Type > &source)
LU back-substitution with given source, returning the solution in the source.