Rate This Document
Findability
Accuracy
Completeness
Readability

KmlScaissCsiFactorize?I

Assign values to a matrix and calculate the preconditioner inside the solver. This interface needs to be invoked regardless of whether a preconditioner is used.

Interface Definition

C interface:

int KmlScaissCsiFactorizeSI(KmlScasolverTask **handle);

int KmlScaissCsiFactorizeDI(KmlScasolverTask **handle);

Parameters

Parameter

Type

Description

Input/Output

handle

KmlScasolverTask **

Solver handle, which is a variable passed from a previous step.

Input/Output

Return Value

Return Value

Type

Description

KMLSS_NO_ERROR

int

Normal execution.

KMLSS_NULL_ARGUMENT

int

The value of handle is null.

KMLSS_ZERO_DIAGONAL_ELEMENT

int

Zero diagonal elements exist in the matrix.

Dependencies

#include "kml_scaiss.h"

For details about the sample code, see Samples.