You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
amg4psblas/cbind/amgprec/amg_c_zprec.c

22 lines
319 B
C

#include <stdlib.h>
#include "amg_c_dprec.h"
amg_c_dprec* amg_c_new_dprec()
{
amg_c_dprec* temp;
temp=(amg_c_dprec *) malloc(sizeof(amg_c_dprec));
temp->dprec=NULL;
return(temp);
}
int amg_c_delete_dprec(amg_c_dprec* p)
{
int iret;
iret=amg_c_dprecfree(p);
if (iret ==0) free(p);
return(iret);
}