Sets the coefficient matrices that define the linear matrix equation to be solved.
PetscErrorCode LMESetCoefficients(LME lme,Mat A,Mat B,Mat D,Mat E)
Collective on lme
|lme || - the matrix function context
|A || - first coefficient matrix
|B || - second coefficient matrix
|D || - third coefficient matrix
|E || - fourth coefficient matrix
The matrix equation takes the general form A*X*E+D*X*B=C, where matrix C is not
provided here but with LMESetRHS(). Not all four matrices must be passed, some
can be NULL instead, see LMESetProblemType() for details.
It must be called before LMESetUp(). If it is called again after LMESetUp() then
the LME object is reset.
In order to delete a previously set matrix, pass a NULL in the corresponding
LMESolve(), LMESetUp(), LMESetRHS(), LMESetProblemType()
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages