MED fichier

medparameter.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2021 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_MEDPARAMETER_H
19 #define MED_MEDPARAMETER_H
20
21 #include "medC_win_dll.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 MEDC_EXPORT med_err
28 MEDparameterCr(const med_idt fid,
29 const char * const paramname,
30 const med_parameter_type paramtype,
31 const char* const description,
32 const char * const dtunit
33 );
34
35 MEDC_EXPORT med_int
36 MEDnParameter(const med_idt fid);
37
38 MEDC_EXPORT med_err
39 MEDparameterInfo(const med_idt fid,
40 const int paramit,
41 char * const paramname,
42 med_parameter_type * const paramtype,
43 char * const description,
44 char * const dtunit,
45 med_int * const nstep);
46
47 MEDC_EXPORT med_err
48 MEDparameterInfoByName(const med_idt fid,
49 const char * const paramname,
50 med_parameter_type * const paramtype,
51 char * const description,
52 char * const dtunit,
53 med_int * const nstep);
54
55 MEDC_EXPORT med_err
56 MEDparameterValueWr(const med_idt fid,
57 const char* const paramname,
58 const med_int numdt,
59 const med_int numit,
60 const med_float dt,
61 const unsigned char* const value);
62
63 MEDC_EXPORT med_err
64 MEDparameterValueRd(const med_idt fid,
65 const char* const paramname,
66 const med_int numdt,
67 const med_int numit,
68 unsigned char* const value);
69
70
71 MEDC_EXPORT med_err
72 MEDparameterComputationStepInfo(const med_idt fid,
73 const char * const paramname,
74 const int csit,
75 med_int * const numdt,
76 med_int * const numit,
77 med_float * const dt );
78
79 #ifdef __cplusplus
80 }
81 #endif
82
83 #endif /* MED_MEDPARAMETER_H */
84
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
med_idt
hid_t med_idt
Definition: med.h:331
med_err
herr_t med_err
Definition: med.h:332
MEDparameterValueRd
MEDC_EXPORT med_err MEDparameterValueRd(const med_idt fid, const char *const paramname, const med_int numdt, const med_int numit, unsigned char *const value)
Cette routine permet la lecture de la valeur d'un paramètre numérique scalaire.
Definition: MEDparameterValueRd.c:37
med_int
int med_int
Definition: med.h:342
med_field_type
med_field_type
Definition: med.h:165
medC_win_dll.h
med_float
double med_float
Definition: med.h:336
MEDparameterCr
MEDC_EXPORT med_err MEDparameterCr(const med_idt fid, const char *const paramname, const med_parameter_type paramtype, const char *const description, const char *const dtunit)
Cette routine permet la création d'un paramètre numérique scalaire.
Definition: MEDparameterCr.c:38
MEDnParameter
MEDC_EXPORT med_int MEDnParameter(const med_idt fid)
Cette routine permet la lecture du nombre de paramètre numérique scalaire dans un fichier.
Definition: MEDnParameter.c:34
MEDparameterComputationStepInfo
MEDC_EXPORT med_err MEDparameterComputationStepInfo(const med_idt fid, const char *const paramname, const int csit, med_int *const numdt, med_int *const numit, med_float *const dt)
Cette routine permet la lecture des informations relatives à une étape de calcul du paramètre numériq...
Definition: MEDparameterComputationStepInfo.c:38
MEDparameterInfo
MEDC_EXPORT med_err MEDparameterInfo(const med_idt fid, const int paramit, char *const paramname, med_parameter_type *const paramtype, char *const description, char *const dtunit, med_int *const nstep)
Cette routine permet la lecture des informations relatives à un paramètre scalaire via un itérateur.
Definition: MEDparameterInfo.c:37
MEDparameterInfoByName
MEDC_EXPORT med_err MEDparameterInfoByName(const med_idt fid, const char *const paramname, med_parameter_type *const paramtype, char *const description, char *const dtunit, med_int *const nstep)
Cette routine permet la lecture des informations relatives à un paramètre scalaire.
Definition: MEDparameterInfoByName.c:37
MEDparameterValueWr
MEDC_EXPORT med_err MEDparameterValueWr(const med_idt fid, const char *const paramname, const med_int numdt, const med_int numit, const med_float dt, const unsigned char *const value)
Cette routine permet l'écriture de la valeur d'un paramètre numérique scalaire.
Definition: MEDparameterValueWr.c:39