mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-19 12:22:10 +00:00
25 lines
623 B
C
25 lines
623 B
C
#ifndef PSB_C_DPREC_
|
|
#define PSB_C_DPREC_
|
|
#include "psb_base_cbind.h"
|
|
/* Object handle related routines */
|
|
/* Note: psb_get_XXX_handle returns: <= 0 unsuccessful */
|
|
/* >0 valid handle */
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct PSB_C_DPREC {
|
|
void *dprec;
|
|
} psb_c_dprec;
|
|
|
|
psb_c_dprec* psb_c_new_dprec();
|
|
|
|
psb_i_t psb_c_dprecinit(psb_c_ctxt cctxt, psb_c_dprec *ph, const char *ptype);
|
|
psb_i_t psb_c_dprecbld(psb_c_dspmat *ah, psb_c_descriptor *cdh, psb_c_dprec *ph);
|
|
psb_i_t psb_c_dprecfree(psb_c_dprec *ph);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|