|
|
|
|
@ -17,25 +17,25 @@ extern "C" {
|
|
|
|
|
} amg_c_dprec;
|
|
|
|
|
|
|
|
|
|
amg_c_dprec* amg_c_dprec_new();
|
|
|
|
|
psb_i_t amg_c_dprec_delete(amg_c_dprec* p);
|
|
|
|
|
psb_c_i_t amg_c_dprec_delete(amg_c_dprec* p);
|
|
|
|
|
|
|
|
|
|
psb_i_t amg_c_dprecinit(psb_c_ctxt cctxt, amg_c_dprec *ph, const char *ptype);
|
|
|
|
|
psb_i_t amg_c_dprecseti(amg_c_dprec *ph, const char *what, psb_i_t val);
|
|
|
|
|
psb_i_t amg_c_dprecsetc(amg_c_dprec *ph, const char *what, const char *val);
|
|
|
|
|
psb_i_t amg_c_dprecsetr(amg_c_dprec *ph, const char *what, double val);
|
|
|
|
|
psb_i_t amg_c_dprecbld(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph);
|
|
|
|
|
psb_i_t amg_c_dhierarchy_build(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph);
|
|
|
|
|
psb_i_t amg_c_dsmoothers_build(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph);
|
|
|
|
|
psb_i_t amg_c_dsmoothers_build_opt(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph, const char *afmt, const char *chfmt);
|
|
|
|
|
psb_i_t amg_c_dprecapply(amg_c_dprec *ph, psb_c_dvector *bh, psb_c_dvector *xh, psb_c_descriptor *cdh);
|
|
|
|
|
psb_i_t amg_c_dprecapply_opt(amg_c_dprec *ph, psb_c_dvector *bh, psb_c_dvector *xh, psb_c_descriptor *cdh, const char *ctrans);
|
|
|
|
|
psb_i_t amg_c_dprecfree(amg_c_dprec *ph);
|
|
|
|
|
psb_i_t amg_c_dprecbld_opt(psb_c_dspmat *ah, psb_c_descriptor *cdh,
|
|
|
|
|
psb_c_i_t amg_c_dprecinit(psb_c_ctxt cctxt, amg_c_dprec *ph, const char *ptype);
|
|
|
|
|
psb_c_i_t amg_c_dprecseti(amg_c_dprec *ph, const char *what, psb_c_i_t val);
|
|
|
|
|
psb_c_i_t amg_c_dprecsetc(amg_c_dprec *ph, const char *what, const char *val);
|
|
|
|
|
psb_c_i_t amg_c_dprecsetr(amg_c_dprec *ph, const char *what, double val);
|
|
|
|
|
psb_c_i_t amg_c_dprecbld(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph);
|
|
|
|
|
psb_c_i_t amg_c_dhierarchy_build(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph);
|
|
|
|
|
psb_c_i_t amg_c_dsmoothers_build(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph);
|
|
|
|
|
psb_c_i_t amg_c_dsmoothers_build_opt(psb_c_dspmat *ah, psb_c_descriptor *cdh, amg_c_dprec *ph, const char *afmt, const char *chfmt);
|
|
|
|
|
psb_c_i_t amg_c_dprecapply(amg_c_dprec *ph, psb_c_dvector *bh, psb_c_dvector *xh, psb_c_descriptor *cdh);
|
|
|
|
|
psb_c_i_t amg_c_dprecapply_opt(amg_c_dprec *ph, psb_c_dvector *bh, psb_c_dvector *xh, psb_c_descriptor *cdh, const char *ctrans);
|
|
|
|
|
psb_c_i_t amg_c_dprecfree(amg_c_dprec *ph);
|
|
|
|
|
psb_c_i_t amg_c_dprecbld_opt(psb_c_dspmat *ah, psb_c_descriptor *cdh,
|
|
|
|
|
amg_c_dprec *ph, const char *afmt);
|
|
|
|
|
psb_i_t amg_c_ddescr(amg_c_dprec *ph);
|
|
|
|
|
psb_i_t amg_c_dallocate_wrk(amg_c_dprec *ph, const char *chfmt);
|
|
|
|
|
psb_c_i_t amg_c_ddescr(amg_c_dprec *ph);
|
|
|
|
|
psb_c_i_t amg_c_dallocate_wrk(amg_c_dprec *ph, const char *chfmt);
|
|
|
|
|
|
|
|
|
|
psb_i_t amg_c_dkrylov(const char *method, psb_c_dspmat *ah, amg_c_dprec *ph,
|
|
|
|
|
psb_c_i_t amg_c_dkrylov(const char *method, psb_c_dspmat *ah, amg_c_dprec *ph,
|
|
|
|
|
psb_c_dvector *bh, psb_c_dvector *xh,
|
|
|
|
|
psb_c_descriptor *cdh, psb_c_SolverOptions *opt);
|
|
|
|
|
|
|
|
|
|
|