67 procOffsets_[proci+1]-procOffsets_[proci],
131 procOffsets_[proci+1]-procOffsets_[proci],
135 if (procSlot.
empty())
193 const UList<Type>& source
196 auto tx = tmp<Field<Type>>
::New(m());
198 solve(tx.ref(), source);
void solve(List< Type > &x, const UList< Type > &source) const
Solve the linear system with the given source.
void resize(const label len)
Adjust allocated size of list.
static label nRequests() noexcept
Number of outstanding requests (on the internal list of requests)
bool empty() const noexcept
True if List is empty (ie, size() is zero)
static bool & parRun() noexcept
Test if this a parallel run.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
static int & msgType() noexcept
Message tag of standard messages.
char * data_bytes() noexcept
Return pointer to the underlying array serving as data storage,.
static void waitRequests()
Wait for all requests to finish.
const char * cdata_bytes() const noexcept
Return pointer to the underlying array serving as data storage,.
static void recv(Type &value, const int fromProcNo, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Receive and deserialize a value. Uses operator>> for de-serialization.
static constexpr int masterNo() noexcept
Relative rank for the master process - is always 0.
SolverPerformance< Type > solve(faMatrix< Type > &, const dictionary &solverControls)
Solve returning the solution statistics given convergence tolerance.
label m() const noexcept
The number of rows.
A template class to specify that a data type can be considered as being contiguous in memory...
static bool master(const label communicator=worldComm)
True if process corresponds to the master rank in the communicator.
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, UPstream::Request *req=nullptr, const UPstream::sendModes sendMode=UPstream::sendModes::normal)
Write buffer contents to given processor.
"nonBlocking" (immediate) : (MPI_Isend, MPI_Irecv)
static rangeType subProcs(const label communicator=worldComm)
Range of process indices for sub-processes.
A class for managing temporary objects.
bool send()
Send buffer contents now and not in destructor [advanced usage]. Returns true on success.
std::streamsize size_bytes() const noexcept
Number of contiguous bytes for the List data.
void LUBacksubstitute(const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, List< Type > &source)
LU back-substitution with given source, returning the solution in the source.
static std::streamsize read(const UPstream::commsTypes commsType, const int fromProcNo, char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, UPstream::Request *req=nullptr)
Read buffer contents from given processor.