Thanks.<br><br><div class="gmail_quote">2008/11/26 Lisandro Dalcin <span dir="ltr"><<a href="mailto:dalcinl@gmail.com">dalcinl@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Wed, Nov 26, 2008 at 4:25 PM, Santolo Felaco <<a href="mailto:ahuramazda10@gmail.com">ahuramazda10@gmail.com</a>> wrote:<br>
> Hi, I cannot to KPS's struct field. For exemple if I try to access to field<br>
> its or vec_sol I have this error of compiling: dereferencing pointer to<br>
> incomplete type. Can you help me? Thanks<br>
<br>
</div></div>Use KSPGetSolution() to get the solution vector, or KSPGetRhs() for<br>
the rhs. In short, see the KSP manual pages, there are a lot of calls<br>
for getting internal stuff.<br>
<br>
Anyway, If you need to access some struct internals, then you have to<br>
add into your source files<br>
<br>
#include "private/kspimpl.h"<br>
<br>
but NEVER do that unless you REALLY need it (e.g., because you are<br>
implementing a brand-new KSP subtype)<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Lisandro Dalcín<br>
---------------<br>
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)<br>
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)<br>
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)<br>
PTLC - Güemes 3450, (3000) Santa Fe, Argentina<br>
Tel/Fax: +54-(0)342-451.1594<br>
<br>
</font></blockquote></div><br>