MED fichier: Fichier source de med_proto.h

MED fichier

med_proto.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2023 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_PROTO_H
19 #define MED_PROTO_H
20
21 #include "medC_win_dll.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /* Interface de l'API MED */
28
29 /* Library */
30 #include "medlibrary.h"
31
32 /* File */
33 #include "medfile.h"
34
35 /* Mesh */
36 #include "medmesh.h"
37
38 /*routine interne*/
39 MEDC_EXPORT med_err
40 _MEDmeshCr(const med_idt fid, const char * const root,
41 const char * const meshname, const med_int spacedim,
42 const med_int meshdim, const med_mesh_type meshtype,
43 const char * const description, const char * const dtunit,
44 const med_sorting_type sortingtype,
45 const med_axis_type axistype, const char * const axisname,
46 const char * const axisunit);
47
48 MEDC_EXPORT med_err
49 _MEDmeshInfoByName(const med_idt fid, const char * const root,const char * const meshname,
50 med_int * const spacedim,med_int * const meshdim, med_mesh_type * const meshtype,
51 char * const description, char * const dtunit,
52 med_sorting_type *const sortingtype,
53 med_int * const nstep, med_axis_type * const axistype, char * const axisname,
54 char * const axisunit);
55
56 MEDC_EXPORT med_idt
57 _MEDmeshAssociatedGroupCr(const med_idt id,
58 const char* const rootname,
59 const char* const meshname,
60 const med_int numdt,
61 const med_int numit,
62 const med_float dt,
63 const med_bool justopen,
64 const char* const datagroupname );
65
66 MEDC_EXPORT med_err
67 _MEDmeshAdvancedWr(const med_idt fid,
68 const char* const meshname,
69 const med_data_type meddatatype,
70 const char* const datasetname,
71 const med_internal_type datatype,
72 const med_int numdt,
73 const med_int numit,
74 const med_float dt,
75 const med_entity_type entitype,
76 const med_geometry_type geotype,
77 const med_connectivity_mode cmode,
78 const med_storage_mode storagemode,
79 const char * const profilename,
80 const med_switch_mode switchmode,
81 const med_int dimselect,
82 const med_filter * const filter,
83 const med_int nentity,
84 const void * const value);
85
86 MEDC_EXPORT med_err
87 _MEDmeshAdvancedRd(const med_idt fid,
88 const char* const meshname,
89 const med_data_type meddatatype,
90 const char* const datasetname,
91 const med_internal_type datatype,
92 const med_int numdt,
93 const med_int numit,
94 const med_entity_type entitype,
95 const med_geometry_type geotype,
96 const med_connectivity_mode cmode,
97 const med_storage_mode storagemode,
98 const char * const profilename,
99 const med_switch_mode switchmode,
100 const med_int dimselect,
101 const med_filter * const filter,
102 unsigned char* const value);
103
104 MEDC_EXPORT med_int
105 _MEDmeshnEntity(const med_idt fid,
106 const char * const meshname,
107 const med_int numdt,
108 const med_int numit,
109 const med_entity_type entitype,
110 const med_geometry_type geotype,
111 const med_data_type datatype,
112 const med_connectivity_mode cmode,
113 const med_storage_mode storagemode,
114 char * const profilename,
115 med_int * const profilesize,
116 med_bool * const changement,
117 med_bool * const transformation );
118
119 MEDC_EXPORT med_idt
120 _MEDmeshDatagroupOpen(const med_idt fid,
121 const char* const meshname,
122 char * const usedpath,
123 med_bool * const isasupportmesh
124 );
125
126 /*fin routines internes */
127
128 /*FIELD*/
129
130 #include "medfield.h"
131
132 /*routines internes*/
133
134 MEDC_EXPORT med_err
135 _MEDfieldComputingStepCheck236(med_idt fid,
136 const char * const fieldname,
137 med_size * const ncpst,
138 med_bool checkmultiplemesh, med_bool * const multiplemesh,
139 med_bool checkmeshname, med_bool * const samedefaultmeshname);
140
141 MEDC_EXPORT med_int
142 _MEDfieldnValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
143 const med_entity_type entitype, const med_geometry_type geotype,
144 char * const profilename, const int profileit,
145 const med_storage_mode storagemode,med_int * const profilesize,
146 char * const localizationname, med_int * const nintegrationpoint);
147
148 MEDC_EXPORT med_int
149 _MEDfield23nValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
150 const med_entity_type entitype, const med_geometry_type geotype, const char * const meshname,
151 char * const profilename, const int profileit,
152 const med_storage_mode storagemode,med_int * const profilesize,
153 char * const localizationname, med_int * const nintegrationpoint);
154
155 /*fin routines internes */
156
157 /* Family */
158 #include "medfamily.h"
159
160 /* Equivalence */
161 #include "medequivalence.h"
162
163 /* Joints */
164 #include "medsubdomain.h"
165
166 /* Profile */
167
168 #include "medprofile.h"
169
170 /* Filter */
171 #include "medfilter.h"
172
173 /* Localization */
174 #include "medlocalization.h"
175
176 /* Link */
177 #include "medlink.h"
178
179 /* Struct Elements */
180 #include "medstructelement.h"
181
182 /* Variables scalaires */
183
184 #include "medparameter.h"
185
186 /* Fonctions d'interpolation */
187
188 #include "medinterp.h"
189
190
191
192 extern MEDC_EXPORT int _MEDtest8bits(uint8_t int_type,int offset);
193 extern MEDC_EXPORT uint8_t _MEDnSet8bits(uint8_t int_type);
194 extern MEDC_EXPORT void _MEDset8bits (uint8_t * const int_type,int offset);
195
196 extern MEDC_EXPORT int _MEDtest32bits(uint32_t int_type,int offset);
197 extern MEDC_EXPORT uint32_t _MEDnSet32bits(uint32_t int_type);
198 extern MEDC_EXPORT void _MEDset32bits (uint32_t * const int_type,int offset);
199
200 #ifdef __cplusplus
201 }
202 #endif
203
204 #endif /* MED_PROTO_H */
205
206
207
208
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
medstructelement.h
_MEDmeshAdvancedRd
MEDC_EXPORT med_err _MEDmeshAdvancedRd(const med_idt fid, const char *const meshname, const med_data_type meddatatype, const char *const datasetname, const med_internal_type datatype, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, const med_filter *const filter, unsigned char *const value)
medinterp.h
med_geometry_type
int med_geometry_type
Definition: med.h:196
medlocalization.h
med_size
hsize_t med_size
Definition: med.h:331
med_idt
hid_t med_idt
Definition: med.h:333
_MEDmeshCr
MEDC_EXPORT med_err _MEDmeshCr(const med_idt fid, const char *const root, const char *const meshname, const med_int spacedim, const med_int meshdim, const med_mesh_type meshtype, const char *const description, const char *const dtunit, const med_sorting_type sortingtype, const med_axis_type axistype, const char *const axisname, const char *const axisunit)
_MEDmeshAdvancedWr
MEDC_EXPORT med_err _MEDmeshAdvancedWr(const med_idt fid, const char *const meshname, const med_data_type meddatatype, const char *const datasetname, const med_internal_type datatype, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, const med_filter *const filter, const med_int nentity, const void *const value)
_MEDset32bits
MEDC_EXPORT void _MEDset32bits(uint32_t *const int_type, int offset)
med_err
herr_t med_err
Definition: med.h:334
med_sorting_type
med_sorting_type
Definition: med.h:311
medsubdomain.h
med_entity_type
med_entity_type
Definition: med.h:145
med_internal_type
med_internal_type
Definition: med.h:158
_MEDmeshAssociatedGroupCr
MEDC_EXPORT med_idt _MEDmeshAssociatedGroupCr(const med_idt id, const char *const rootname, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_bool justopen, const char *const datagroupname)
med_int
int med_int
Definition: med.h:344
med_filter
Filtre de sélection.
Definition: med.h:357
medmesh.h
_MEDnSet32bits
MEDC_EXPORT uint32_t _MEDnSet32bits(uint32_t int_type)
_MEDnSet8bits
MEDC_EXPORT uint8_t _MEDnSet8bits(uint8_t int_type)
med_bool
med_bool
Definition: med.h:262
medequivalence.h
_MEDfield23nValue
MEDC_EXPORT med_int _MEDfield23nValue(const med_idt fid, const char *const fieldname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const char *const meshname, char *const profilename, const int profileit, const med_storage_mode storagemode, med_int *const profilesize, char *const localizationname, med_int *const nintegrationpoint)
med_float
double med_float
Definition: med.h:338
medprofile.h
_MEDtest32bits
MEDC_EXPORT int _MEDtest32bits(uint32_t int_type, int offset)
_MEDfieldnValue
MEDC_EXPORT med_int _MEDfieldnValue(const med_idt fid, const char *const fieldname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, char *const profilename, const int profileit, const med_storage_mode storagemode, med_int *const profilesize, char *const localizationname, med_int *const nintegrationpoint)
medfilter.h
medfield.h
_MEDtest8bits
MEDC_EXPORT int _MEDtest8bits(uint8_t int_type, int offset)
med_mesh_type
med_mesh_type
Definition: med.h:133
med_data_type
med_data_type
Definition: med.h:151
_MEDmeshDatagroupOpen
MEDC_EXPORT med_idt _MEDmeshDatagroupOpen(const med_idt fid, const char *const meshname, char *const usedpath, med_bool *const isasupportmesh)
med_switch_mode
med_switch_mode
Definition: med.h:98
medlibrary.h
medfile.h
_MEDmeshnEntity
MEDC_EXPORT med_int _MEDmeshnEntity(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_data_type datatype, const med_connectivity_mode cmode, const med_storage_mode storagemode, char *const profilename, med_int *const profilesize, med_bool *const changement, med_bool *const transformation)
med_axis_type
med_axis_type
Definition: med.h:260
_MEDset8bits
MEDC_EXPORT void _MEDset8bits(uint8_t *const int_type, int offset)
medC_win_dll.h
med_storage_mode
med_storage_mode
Definition: med.h:110
_MEDmeshInfoByName
MEDC_EXPORT med_err _MEDmeshInfoByName(const med_idt fid, const char *const root, const char *const meshname, med_int *const spacedim, med_int *const meshdim, med_mesh_type *const meshtype, char *const description, char *const dtunit, med_sorting_type *const sortingtype, med_int *const nstep, med_axis_type *const axistype, char *const axisname, char *const axisunit)
_MEDfieldComputingStepCheck236
MEDC_EXPORT med_err _MEDfieldComputingStepCheck236(med_idt fid, const char *const fieldname, med_size *const ncpst, med_bool checkmultiplemesh, med_bool *const multiplemesh, med_bool checkmeshname, med_bool *const samedefaultmeshname)
medparameter.h
medlink.h
medfamily.h
med_connectivity_mode
med_connectivity_mode
Definition: med.h:257