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.
22 lines
323 B
C
22 lines
323 B
C
#include <stdlib.h>
|
|
#include "amg_c_zprec.h"
|
|
|
|
amg_c_zprec* amg_c_new_zprec()
|
|
{
|
|
amg_c_zprec* temp;
|
|
|
|
temp=(amg_c_zprec *) malloc(sizeof(amg_c_zprec));
|
|
temp->dprec=NULL;
|
|
return(temp);
|
|
}
|
|
|
|
|
|
psb_i_t amg_c_delete_zprec(amg_c_zprec* p)
|
|
{
|
|
int iret;
|
|
iret=amg_c_zprecfree(p);
|
|
if (iret ==0) free(p);
|
|
return(iret);
|
|
}
|
|
|