#define MESGERR 1
#include <string.h>
int main (
int argc,
char **argv) {
med_int csit, numit, numdt, meshnumit, meshnumdt, it;
int ret=-1;
if (fid < 0) {
goto ERROR;
}
componentname, componentunit, dtunit, &nstep) < 0) {
MESSAGE(
"ERROR : Field info by name ...");
goto ERROR;
}
for (csit=0; csit<nstep; csit++) {
&meshnumdt, &meshnumit) < 0) {
MESSAGE(
"ERROR : Computing step info ...");
goto ERROR;
}
geotype = geotypes[it];
MESSAGE(
"ERROR : read number of values ...");
goto ERROR;
}
if (nvalues) {
MESSAGE(
"ERROR : memory allocation ...");
goto ERROR;
}
MESSAGE(
"ERROR : read fields values for cells ...");
free(values);
goto ERROR;
}
free(values);
}
}
}
ret=0;
ERROR:
ret=-1;
}
return ret;
}