30int main (
int argc,
char **argv) {
32 char interpname[
MED_NAME_SIZE+1] =
"MED_TRIA3 interpolation family";
35 const med_int nmaxcoefficient=3;
36 const med_int ncoefficient1_1 = 3;
37 const med_int const power1_1[] = {0,0,1,0,0,1};
38 const med_float const coefficient1_1[] = {1,-1,-1};
40 const med_int ncoefficient1_2 = 1;
41 const med_int const power1_2[] = {1,0};
42 const med_float const coefficient1_2[] = {1};
44 const med_int ncoefficient1_3 = 1;
45 const med_int const power1_3[] = {0,1};
46 const med_float const coefficient1_3[] = {1};
52 MESSAGE(
"ERROR : file creation ...");
63 MESSAGE(
"ERROR : interpolation family creation ...");
69 MESSAGE(
"ERROR : first base function creation ...");
74 MESSAGE(
"ERROR : second base function creation ...");
79 MESSAGE(
"ERROR : third base function creation ...");
88 MESSAGE(
"ERROR : close file ...");
MEDC_EXPORT med_err MEDinterpBaseFunctionWr(const med_idt fid, const char *const interpname, const med_int basisfuncit, const med_int ncoef, const med_int *const power, const med_float *const coefficient)
Cette routine permet l'écriture d'une fonction de base/forme de l'interpolation interpname.
MEDC_EXPORT med_err MEDinterpCr(const med_idt fid, const char *const interpname, const med_geometry_type geotype, const med_bool cellnodes, const med_int nvariable, const med_int maxdegree, const med_int nmaxcoef)
Cette routine permet de créer une nouvelle fonction d'interpolation polynômiale nommée interpname.