HP MLIB User's Guide Vol. 2 7th Ed.

Chapter 13 Sparse Linear Equations 909
Matrix structure input by single entry DSLEI1
Name DSLEI1
Matrix structure input by single entry
Purpose This subprogram adds a single entry in the (irow, jcol) position to the set of
known nonzeros for the sparse matrix.
NOTE Matrix structure input by matrix supports five data types. Matrix structure
input by elements, columns, and finite elements supports only REAL*8
precision.
Usage VECLIB:
INTEGER*4 irow, jcol, ier
REAL*8 global(150)
CALL DSLEI1(irow, jcol, global, ier)
VECLIB8:
INTEGER*8 irow, jcol, ier
REAL*8 global(150)
CALL DSLEI1(irow, jcol, global, ier)
Input irow Row index of the nonzero entry. For a symmetric
matrix (LDL’ factorization), jcol irow neqns, where
neqns is the number of equations specified in the call to
DSLEIN. Input of diagonal entries is optional.
jcol Column index of the nonzero entry; 1 jcol neqns,
where neqns is the number of equations specified in the
call to DSLEIN.
Updated global Global communications array for this problem. This
array must be passed, untouched by the user, to
successive subroutines in this package.
Output ier Status response:
ier = 0 Normal return.
ier = 100 Incorrect processing path; DSLEIN
not called or matrix input already
finished.
ier = 101 Error in dynamic storage allocation.
ier = 104 Illegal value for jcol.
ier = 105 Illegal value for irow.