Aller à la documentation de ce fichier.
30 int main (
int argc,
char **argv) {
32 const char interpname[
MED_NAME_SIZE+1] =
"MED_TRIA3 interpolation family";
51 MESSAGE(
"ERROR : file creation ...");
57 &nvariable,&maxdegree,&nmaxcoefficient) < 0) {
58 MESSAGE(
"ERROR : interpolation function information ...");
63 for ( basisfuncit=1; basisfuncit<= nbasisfunc; ++basisfuncit) {
66 MESSAGE(
"ERROR : read number of coefficient in the base function ...");
74 MESSAGE(
"ERROR : read base function ...");
75 free(coefficient); free(power);
89 MESSAGE(
"ERROR : close file ...");
MEDC_EXPORT med_err MEDinterpInfoByName(const med_idt fid, const 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 nommée interpname.
MEDC_EXPORT med_err MEDfileClose(med_idt fid)
Fermeture d'un fichier MED.
int main(int argc, char **argv)
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...