00001 #include "dsdpvec.h" 00002 #if !defined(__DSDP_CG_H) 00003 #define __DSDP_CG_H 00004 00008 typedef struct{ 00009 00010 int setup2; 00011 int m; 00012 00013 DSDPVec Diag; 00014 DSDPVec RHS2; 00015 DSDPVec R; 00016 DSDPVec BR; 00017 DSDPVec P; 00018 00019 DSDPVec BP; 00020 DSDPVec TTT; 00021 00022 } DSDPCG; 00023 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 int DSDPCGSetup(DSDPCG*, DSDPVec); 00029 int DSDPCGDestroy(DSDPCG**); 00030 int DSDPCGInitialize(DSDPCG **); 00031 #ifdef __cplusplus 00032 } 00033 #endif 00034 00035 #endif