#include <med.h>
#define MESGERR 1
#include <med_utils.h>
#include <string.h>
int main (
int argc,
char **argv) {
const char interpname[
MED_NAME_SIZE+1] =
"MED_TRIA3 interpolation family";
int basisfuncit =0;
int powerit =0;
int coefficientit =0;
int ret=-1;
if (fid < 0) {
MESSAGE(
"ERROR : file creation ...");
goto ERROR;
}
&nvariable,&maxdegree,&nmaxcoefficient) < 0) {
MESSAGE(
"ERROR : interpolation function information ...");
goto ERROR;
}
for ( basisfuncit=1; basisfuncit<= nbasisfunc; ++basisfuncit) {
MESSAGE(
"ERROR : read number of coefficient in the base function ...");
goto ERROR;
}
MESSAGE(
"ERROR : read base function ...");
free(coefficient); free(power);
goto ERROR;
}
free(coefficient);
free(power);
}
ret=0;
ERROR:
ret=-1;
}
return ret;
}