DSDP
Functions
dsdpschurmat_impl.h File Reference

Function pointers that a Schur complement matrix (dense, sparse, parallel dense) must provide. More...

Go to the source code of this file.

Functions

int DSDPSchurMatOpsInitialize (struct DSDPSchurMat_Ops *)
 Initialize function pointers to 0. More...
 
int DSDPSetSchurMatOps (DSDP, struct DSDPSchurMat_Ops *, void *)
 Set the Schur complement matrix. More...
 
int DSDPSparsityInSchurMat (DSDP, int, int[], int)
 Identify nonzero elements in a row of the Schur complement. More...
 

Detailed Description

Function pointers that a Schur complement matrix (dense, sparse, parallel dense) must provide.

Definition in file dsdpschurmat_impl.h.

Function Documentation

int DSDPSchurMatOpsInitialize ( struct DSDPSchurMat_Ops *  dops)

Initialize function pointers to 0.

Parameters
dopsaddress of a structure of function pointers.

Definition at line 44 of file dsdpschurmat.c.

Referenced by DSDPSchurMatDestroy(), and DSDPSchurMatInitialize().

int DSDPSetSchurMatOps ( DSDP  ,
struct DSDPSchurMat_Ops *  ,
void *   
)

Set the Schur complement matrix.

Parameters
dsdpthe solver
sopsaddress of a structure with function pointers
mdataaddress of a matrix object The step direction in DSDP is the solution to a set of linear equations. The cones used by DSDP compute the elements of the matrix and the right-hand side vectors. Any matrix that implements the Schur complement matrix interface can be used by DSDP. In addition to factoring a matrix and solving it, this interface also provides matrix assembly routines for the cones.
See also
DSDPAddCone()
Todo:
Use SCALAPACK to assemble, factor, and solve the matrix in parallel.

Definition at line 602 of file dsdpcops.c.

int DSDPSparsityInSchurMat ( DSDP  dsdp,
int  row,
int  rnnz[],
int  mm 
)

Identify nonzero elements in a row of the Schur complement.

Parameters
dsdpsolver
rowcorresponding to variable y.
rnnzarray to be marked nonzero if nonzero.
mmdimension of M matrix

Definition at line 649 of file dsdpschurmat.c.