<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>DSDP: src/solver/dsdpschurmat_impl.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">DSDP</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_23046874d7fed141927c769a66d8e3a5.html">src</a> </li> <li class="navelem"><a class="el" href="dir_03c647d51c93e018646ff83aa2eeb169.html">solver</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">dsdpschurmat_impl.h File Reference</div> </div> </div> <div class="contents"> <p>Function pointers that a Schur complement matrix (dense, sparse, parallel dense) must provide. <a href="#details">More...</a></p> <p><a href="dsdpschurmat__impl_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dsdpschurmat__impl_8h.html#a308f47c83d9a28407a9e128ec92b464f">DSDPSchurMatOpsInitialize</a> (struct DSDPSchurMat_Ops *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize function pointers to 0. <a href="#a308f47c83d9a28407a9e128ec92b464f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dsdpschurmat__impl_8h.html#ae0eb90aaf8b6eeb6dfc629e6c36db654">DSDPSetSchurMatOps</a> (<a class="el" href="structDSDP__C.html">DSDP</a>, struct DSDPSchurMat_Ops *, void *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the Schur complement matrix. <a href="#ae0eb90aaf8b6eeb6dfc629e6c36db654"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dsdpschurmat__impl_8h.html#a678ceeb410d7f137d3fc1e516d24156a">DSDPSparsityInSchurMat</a> (<a class="el" href="structDSDP__C.html">DSDP</a>, int, int[], int)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Identify nonzero elements in a row of the Schur complement. <a href="#a678ceeb410d7f137d3fc1e516d24156a"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Function pointers that a Schur complement matrix (dense, sparse, parallel dense) must provide. </p> <p>Definition in file <a class="el" href="dsdpschurmat__impl_8h_source.html">dsdpschurmat_impl.h</a>.</p> </div><hr/><h2>Function Documentation</h2> <a class="anchor" id="a308f47c83d9a28407a9e128ec92b464f"></a><!-- doxytag: member="dsdpschurmat_impl.h::DSDPSchurMatOpsInitialize" ref="a308f47c83d9a28407a9e128ec92b464f" args="(struct DSDPSchurMat_Ops *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int DSDPSchurMatOpsInitialize </td> <td>(</td> <td class="paramtype">struct DSDPSchurMat_Ops * </td> <td class="paramname"><em>dops</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Initialize function pointers to 0. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">dops</td><td>address of a structure of function pointers. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="dsdpschurmat_8c_source.html#l00044">44</a> of file <a class="el" href="dsdpschurmat_8c_source.html">dsdpschurmat.c</a>.</p> <p>Referenced by <a class="el" href="dsdpschurmat_8c_source.html#l00414">DSDPSchurMatDestroy()</a>, and <a class="el" href="dsdpschurmat_8c_source.html#l00079">DSDPSchurMatInitialize()</a>.</p> </div> </div> <a class="anchor" id="ae0eb90aaf8b6eeb6dfc629e6c36db654"></a><!-- doxytag: member="dsdpschurmat_impl.h::DSDPSetSchurMatOps" ref="ae0eb90aaf8b6eeb6dfc629e6c36db654" args="(DSDP, struct DSDPSchurMat_Ops *, void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int DSDPSetSchurMatOps </td> <td>(</td> <td class="paramtype"><a class="el" href="structDSDP__C.html">DSDP</a> </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">struct DSDPSchurMat_Ops * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the Schur complement matrix. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">dsdp</td><td>the solver </td></tr> <tr><td class="paramname">sops</td><td>address of a structure with function pointers </td></tr> <tr><td class="paramname">mdata</td><td>address 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.</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dsdpcone__impl_8h.html#ae305676af8ca6fb9340d129b392c0f4d" title="Apply DSDP to a conic structure.">DSDPAddCone()</a></dd></dl> <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Use SCALAPACK to assemble, factor, and solve the matrix in parallel.</dd></dl> <p>Definition at line <a class="el" href="dsdpcops_8c_source.html#l00602">602</a> of file <a class="el" href="dsdpcops_8c_source.html">dsdpcops.c</a>.</p> </div> </div> <a class="anchor" id="a678ceeb410d7f137d3fc1e516d24156a"></a><!-- doxytag: member="dsdpschurmat_impl.h::DSDPSparsityInSchurMat" ref="a678ceeb410d7f137d3fc1e516d24156a" args="(DSDP, int, int[], int)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int DSDPSparsityInSchurMat </td> <td>(</td> <td class="paramtype"><a class="el" href="structDSDP__C.html">DSDP</a> </td> <td class="paramname"><em>dsdp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>row</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>rnnz</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>mm</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Identify nonzero elements in a row of the Schur complement. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">dsdp</td><td>solver </td></tr> <tr><td class="paramname">row</td><td>corresponding to variable y. </td></tr> <tr><td class="paramname">rnnz</td><td>array to be marked nonzero if nonzero. </td></tr> <tr><td class="paramname">mm</td><td>dimension of M matrix </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="dsdpschurmat_8c_source.html#l00649">649</a> of file <a class="el" href="dsdpschurmat_8c_source.html">dsdpschurmat.c</a>.</p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Jun 8 2011 for DSDP by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>