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