67 reinterpret_cast<char*
>
69 &(X[procOffsets_[slave]])
71 (procOffsets_[slave+1]-procOffsets_[slave])*
sizeof(Type),
83 reinterpret_cast<const char*
>(
x.begin()),
111 reinterpret_cast<const char*
>
113 &(X[procOffsets_[slave]])
115 (procOffsets_[slave + 1]-procOffsets_[slave])*
sizeof(Type),
127 reinterpret_cast<char*
>(
x.begin()),
Pre-declare SubField and related Field type.
SubField< Type > subField
Declare type of subField.
void solve(Field< Type > &x, const Field< Type > &source) const
Solve the linear system with the given source.
label m() const
Return the number of rows.
static label read(const commsTypes commsType, const int fromProcNo, char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label communicator=0)
Read into given buffer from given processor and return the.
static bool write(const commsTypes commsType, const int toProcNo, const char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label communicator=0)
Write given buffer to given processor.
static int masterNo()
Process index of the master.
static bool master(const label communicator=0)
Am I the master process.
static int lastSlave(const label communicator=0)
Process index of last slave.
static int firstSlave()
Process index of first slave.
static bool & parRun()
Is this a parallel run?
static int & msgType()
Message tag of standard messages.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
void LUBacksubstitute(const scalarSquareMatrix &luMmatrix, const labelList &pivotIndices, List< Type > &source)
LU back-substitution with given source, returning the solution.
SolverPerformance< Type > solve(fvMatrix< Type > &, const word &)
Solve returning the solution statistics given convergence tolerance.