MED fichier
medinterp.h
Aller à la documentation de ce fichier.
1/* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2020 EDF R&D, CEA/DEN
4 * MED is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * MED is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with MED. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef MED_MEDINTERP_H
19#define MED_MEDINTERP_H
20
21#include "medC_win_dll.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
27MEDinterpCr(const med_idt fid,
28 const char* const interpname,
29 const med_geometry_type geotype,
30 const med_bool cellnodes,
31 const med_int nvariable,
32 const med_int maxdegree,
33 const med_int nmaxcoef
34 );
35
38 const char* const interpname,
39 const med_int basisfuncit,
40 const med_int ncoef,
41 const med_int* const power,
42 const med_float* const coefficient);
43
45MEDnInterp(const med_idt fid);
46
48MEDinterpInfo(const med_idt fid,
49 const int interpit,
50 char* const interpname,
51 med_geometry_type* const geotype,
52 med_bool* const cellnode,
53 med_int* const nbasisfunc,
54 med_int* const nvariable,
55 med_int* const maxdegree,
56 med_int* const nmaxcoef
57 );
58
61 const char* const interpname,
62 med_geometry_type* const geotype,
63 med_bool* const cellnode,
64 med_int* const nbasisfunc,
65 med_int* const nvariable,
66 med_int* const maxdegree,
67 med_int* const nmaxcoef
68 );
69
72 const char* const interpname,
73 const int basisfuncit,
74 med_int* const ncoef,
75 med_int* const power,
76 med_float* const coefficient);
77
80 const char* const interpname,
81 const med_int basisfuncit);
82
83/* Fonctions d'interpolation */
84
85#ifdef __cplusplus
86}
87#endif
88
89#endif /* MED_MEDINTERP_H */
90
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 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.
Definition MEDinterpCr.c:43
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...
MEDC_EXPORT med_int MEDnInterp(const med_idt fid)
Cette routine renvoie le nombre d'interpolations disponibles dans le fichier.
Definition MEDnInterp.c:34
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 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.
#define MEDC_EXPORT