Aller à la documentation de ce fichier.
30 int main (
int argc,
char **argv) {
53 MESSAGE(
"ERROR : file creation ...");
59 MESSAGE(
"ERROR : read number of interpolation ...");
65 for (it=1; it<= ninterp; it++) {
67 if (
MEDinterpInfo(fid,it,interpname,&geotype,&cellnodes,&nbasisfunc,
68 &nvariable,&maxdegree,&nmaxcoefficient) < 0) {
69 MESSAGE(
"ERROR : interpolation function information ...");
74 for ( basisfuncit=1; basisfuncit<= nbasisfunc; ++basisfuncit) {
76 MESSAGE(
"ERROR : read number of coefficient in the base function ...");
84 MESSAGE(
"ERROR : read base function ...");
85 free(coefficient); free(power);
100 MESSAGE(
"ERROR : close file ...");
MEDC_EXPORT med_err MEDinterpInfo(const med_idt fid, const int interpit, char *const interpname, med_geometry_type *const geotype, med_bool *const cellnode, med_int *const nbasisfunc, med_int *const nvariable, med_int *const maxdegree, med_int *const nmaxcoef)
Cette fonction informe des caractéristiques de la fonction d'interpolation n° interpit.
MEDC_EXPORT med_err MEDfileClose(med_idt fid)
Fermeture d'un fichier MED.
int main(int argc, char **argv)
MEDC_EXPORT med_int MEDnInterp(const med_idt fid)
Cette routine renvoie le nombre d'interpolations disponibles dans le fichier.
MEDC_EXPORT med_idt MEDfileOpen(const char *const filename, const med_access_mode accessmode)
Ouverture d'un fichier MED.
MEDC_EXPORT med_err MEDinterpBaseFunctionRd(const med_idt fid, const char *const interpname, const int basisfuncit, med_int *const ncoef, med_int *const power, med_float *const coefficient)
Cette routine permet la lecture d'une fonction de base/forme de l'interpolation interpname.
MEDC_EXPORT med_int MEDinterpBaseFunctionCoefSize(const med_idt fid, const char *const interpname, const med_int basisfuncit)
Cette routine retourne ne nombre de coefficients/monômes de la fonction de base/forme n° basisfunctit...