MED fichier: Fichier source de medmesh.h

MED fichier

medmesh.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_MEDMESH_H
19 #define MED_MEDMESH_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 MEDC_EXPORT med_err
30 MEDmeshCr(const med_idt fid,
31 const char * const meshname, const med_int spacedim,
32 const med_int meshdim, const med_mesh_type meshtype,
33 const char * const description, const char * const dtunit,
34 const med_sorting_type sortingtype,
35 const med_axis_type axistype, const char * const axisname,
36 const char * const axisunit);
37
38
39 MEDC_EXPORT med_err
40 MEDmeshInfoByName(const med_idt fid,const char * const meshname,
41 med_int * const spacedim, med_int * const meshdim, med_mesh_type * const meshtype,
42 char * const description, char * const dtunit,
43 med_sorting_type * const sortingtype,
44 med_int * const nstep, med_axis_type * const axistype, char * const axisname,
45 char * const axisunit);
46
47 MEDC_EXPORT med_err
48 MEDmeshInfo(const med_idt fid,
49 const int meshit,
50 char * const meshname,
51 med_int * const spacedim,
52 med_int * const meshdim,
53 med_mesh_type * const meshtype,
54 char * const description,
55 char * const dtunit,
56 med_sorting_type * const sortingtype,
57 med_int * const nstep,
58 med_axis_type * const axistype,
59 char * const axisname,
60 char * const axisunit);
61
62 MEDC_EXPORT med_int
63 MEDnMesh(const med_idt fid);
64
65 MEDC_EXPORT med_int
66 MEDmeshnAxis(const med_idt fid, const int meshit);
67
68 MEDC_EXPORT med_int
69 MEDmeshnAxisByName(const med_idt fid, const char * const meshname);
70
71 MEDC_EXPORT med_err
72 MEDmeshGridTypeWr(const med_idt fid,const char * const meshname, const med_grid_type gridtype);
73
74 MEDC_EXPORT med_err
75 MEDmeshGridTypeRd(const med_idt fid,const char * const meshname, med_grid_type * const gridtype);
76
77 MEDC_EXPORT med_err
78 MEDmeshGridIndexCoordinateWr(const med_idt fid,
79 const char* const meshname,
80 const med_int numdt,
81 const med_int numit,
82 const med_float dt,
83 const med_int axis,
84 const med_int indexsize,
85 const med_float * const gridindex);
86 MEDC_EXPORT med_err
87 MEDmeshGridIndexCoordinateRd(const med_idt fid,
88 const char* const meshname,
89 const med_int numdt,
90 const med_int numit,
91 const med_int axis,
92 med_float * const gridindex);
93
94 MEDC_EXPORT med_err
95 MEDmeshGridStructWr(const med_idt fid,
96 const char* const meshname,
97 const med_int numdt,
98 const med_int numit,
99 const med_float dt,
100 const med_int * const gridstruct);
101
102 MEDC_EXPORT med_err
103 MEDmeshGridStructRd(const med_idt fid,
104 const char* const meshname,
105 const med_int numdt,
106 const med_int numit,
107 med_int * const gridstruct);
108
109 MEDC_EXPORT med_err
110 MEDmeshUniversalNameWr(const med_idt fid, const char * const meshname);
111
112 MEDC_EXPORT med_err
113 MEDmeshUniversalNameRd(const med_idt fid, const char * const meshname,char * const univname);
114
115 MEDC_EXPORT med_err
116 MEDmeshComputationStepCr(const med_idt fid,const char * const meshname,
117 const med_int numdt1, const med_int numit1,
118 const med_int numdt2, const med_int numit2,
119 const med_float dt2 );
120
121 MEDC_EXPORT med_err
122 MEDmeshAttributeRd(const med_idt fid,
123 const char * const meshname,
124 med_int * const isolatednodes,
125 med_int * const verticesnodes,
126 med_int * const cellmaxnodes);
127
128 MEDC_EXPORT med_err
129 MEDmeshAttributeWr(const med_idt fid, const char * const meshname,
130 const med_int isolatednodes,const med_int verticesnodes,const med_int cellmaxnodes);
131
132 MEDC_EXPORT med_err
133 MEDmeshComputationStepDtRd(const med_idt fid,const char * const meshname,
134 const med_int numdt, const med_int umit, med_float * const dt );
135
136 MEDC_EXPORT med_err
137 MEDmeshComputationStepInfo(const med_idt fid,
138 const char * const meshname,
139 const int csit,
140 med_int * const numdt,
141 med_int * const numit,
142 med_float * const dt );
143
144 MEDC_EXPORT med_err
145 MEDmeshSortingTypeRd(const med_idt fid,
146 const char* const meshname,
147 med_sorting_type * const sortingtype );
148
149
150 MEDC_EXPORT med_err
151 MEDmeshNodeCoordinateAdvancedWr(const med_idt fid,
152 const char* const meshname,
153 const med_int numdt,
154 const med_int numit,
155 const med_float dt,
156 const med_filter * const filter,
157 const med_float* const value);
158 MEDC_EXPORT med_err
159 MEDmeshNodeCoordinateWithProfileWr(const med_idt fid,
160 const char* const meshname,
161 const med_int numdt,
162 const med_int numit,
163 const med_float dt,
164 const med_storage_mode storagemode,
165 const char * const profilename,
166 const med_switch_mode switchmode,
167 const med_int dimselect,
168 const med_int nentity,
169 const med_float* const coordinates);
170 MEDC_EXPORT med_err
171 MEDmeshNodeCoordinateWr(const med_idt fid,
172 const char* const meshname,
173 const med_int numdt,
174 const med_int numit,
175 const med_float dt,
176 const med_switch_mode switchmode,
177 const med_int nentity,
178 const med_float* const coordinates);
179
180 MEDC_EXPORT med_err
181 MEDmeshNodeCoordinateTrsfWr(const med_idt fid,
182 const char* const meshname,
183 const med_int numdt,
184 const med_int numit,
185 const med_float dt,
186 const med_float* const coordinatetrsf);
187 MEDC_EXPORT med_err
188 MEDmeshNodeCoordinateTrsfRd(const med_idt fid,
189 const char* const meshname,
190 const med_int numdt,
191 const med_int numit,
192 const med_float* const coordinatetrsf);
193 MEDC_EXPORT med_err
194 MEDmeshElementConnectivityWr(const med_idt fid,
195 const char* const meshname,
196 const med_int numdt,
197 const med_int numit,
198 const med_float dt,
199 const med_entity_type entitype,
200 const med_geometry_type geotype,
201 const med_connectivity_mode cmode,
202 const med_switch_mode switchmode,
203 const med_int nentity,
204 const med_int* const connectivity);
205
206 MEDC_EXPORT med_err
207 MEDmeshElementConnectivityAdvancedWr(const med_idt fid,
208 const char* const meshname,
209 const med_int numdt,
210 const med_int numit,
211 const med_float dt,
212 const med_entity_type entitype,
213 const med_geometry_type geotype,
214 const med_connectivity_mode cmode,
215 const med_filter * const filter,
216 const med_int* const connectivity);
217 MEDC_EXPORT med_err
218 MEDmeshElementConnectivityWithProfileWr(const med_idt fid,
219 const char* const meshname,
220 const med_int numdt,
221 const med_int numit,
222 const med_float dt,
223 const med_entity_type entitype,
224 const med_geometry_type geotype,
225 const med_connectivity_mode cmode,
226 const med_storage_mode storagemode,
227 const char * const profilename,
228 const med_switch_mode switchmode,
229 const med_int dimselect,
230 const med_int nentity,
231 const med_int* const connectivity);
232
233 MEDC_EXPORT med_err
234 MEDmeshNodeCoordinateAdvancedRd(const med_idt fid,
235 const char* const meshname,
236 const med_int numdt,
237 const med_int numit,
238 const med_filter * const filter,
239 med_float* const value);
240 MEDC_EXPORT med_err
241 MEDmeshNodeCoordinateWithProfileRd(const med_idt fid,
242 const char* const meshname,
243 const med_int numdt,
244 const med_int numit,
245 const med_storage_mode storagemode,
246 const char * const profilename,
247 const med_switch_mode switchmode,
248 const med_int dimselect,
249 med_float* const coordinates);
250 MEDC_EXPORT med_err
251 MEDmeshNodeCoordinateRd(const med_idt fid,
252 const char* const meshname,
253 const med_int numdt,
254 const med_int numit,
255 const med_switch_mode switchmode,
256 med_float* const coordinates);
257
258 MEDC_EXPORT med_err
259 MEDmeshElementConnectivityRd(const med_idt fid,
260 const char* const meshname,
261 const med_int numdt,
262 const med_int numit,
263 const med_entity_type entitype,
264 const med_geometry_type geotype,
265 const med_connectivity_mode cmode,
266 const med_switch_mode switchmode,
267 med_int* const connectivity);
268 MEDC_EXPORT med_err
269 MEDmeshElementConnectivityAdvancedRd(const med_idt fid,
270 const char* const meshname,
271 const med_int numdt,
272 const med_int numit,
273 const med_entity_type entitype,
274 const med_geometry_type geotype,
275 const med_connectivity_mode cmode,
276 const med_filter * const filter,
277 med_int* const connectivity);
278 MEDC_EXPORT med_err
279 MEDmeshElementConnectivityWithProfileRd(const med_idt fid,
280 const char* const meshname,
281 const med_int numdt,
282 const med_int numit,
283 const med_entity_type entitype,
284 const med_geometry_type geotype,
285 const med_connectivity_mode cmode,
286 const med_storage_mode storagemode,
287 const char * const profilename,
288 const med_switch_mode switchmode,
289 const med_int dimselect,
290 const med_int nentity,
291 med_int* const connectivity);
292
293 /*Cr~er une version sans aucun param~tre concernant les s~quences de calcul*/
294 MEDC_EXPORT med_int
295 MEDmeshnEntity(const med_idt fid,
296 const char * const meshname,
297 const med_int numdt,
298 const med_int numit,
299 const med_entity_type entitype,
300 const med_geometry_type geotype,
301 const med_data_type datatype,
302 const med_connectivity_mode cmode,
303 med_bool * const changement,
304 med_bool * const transformation );
305
306 MEDC_EXPORT med_int
307 MEDmeshnEntityWithProfile(const med_idt fid,
308 const char * const meshname,
309 const med_int numdt,
310 const med_int numit,
311 const med_entity_type entitype,
312 const med_geometry_type geotype,
313 const med_data_type datatype,
314 const med_connectivity_mode cmode,
315 const med_storage_mode storagemode,
316 char * const profilename,
317 med_int * const profilesize,
318 med_bool * const changement,
319 med_bool * const transformation );
320
321 MEDC_EXPORT med_err
322 MEDmeshEntityInfo(const med_idt fid,
323 const char * const meshname,
324 const med_int numdt,
325 const med_int numit,
326 const med_entity_type entitype,
327 const int geotypeit,
328 char * const geotypename,
329 med_geometry_type * const geotype
330 );
331
332 MEDC_EXPORT med_err
333 MEDmeshEntityNameWr(const med_idt fid,
334 const char* const meshname,
335 const med_int numdt,
336 const med_int numit,
337 const med_entity_type entitype,
338 const med_geometry_type geotype,
339 const med_int nentity,
340 const char* const name);
341
342 MEDC_EXPORT med_err
343 MEDmeshEntityNameRd(const med_idt fid,
344 const char* const meshname,
345 const med_int numdt,
346 const med_int numit,
347 const med_entity_type entitype,
348 const med_geometry_type geotype,
349 char* const name);
350
351 MEDC_EXPORT med_err
352 MEDmeshEntityNumberWr(const med_idt fid,
353 const char* const meshname,
354 const med_int numdt,
355 const med_int numit,
356 const med_entity_type entitype,
357 const med_geometry_type geotype,
358 const med_int nentity,
359 const med_int * const number);
360
361 MEDC_EXPORT med_err
362 MEDmeshEntityNumberRd(const med_idt fid,
363 const char* const meshname,
364 const med_int numdt,
365 const med_int numit,
366 const med_entity_type entitype,
367 const med_geometry_type geotype,
368 med_int * const number);
369
370 MEDC_EXPORT med_err
371 MEDmeshEntityFamilyNumberWr(const med_idt fid,
372 const char* const meshname,
373 const med_int numdt,
374 const med_int numit,
375 const med_entity_type entitype,
376 const med_geometry_type geotype,
377 const med_int nentity,
378 const med_int * const number);
379 MEDC_EXPORT med_err
380 MEDmeshEntityFamilyNumberRd(const med_idt fid,
381 const char* const meshname,
382 const med_int numdt,
383 const med_int numit,
384 const med_entity_type entitype,
385 const med_geometry_type geotype,
386 med_int * const number);
387
388 MEDC_EXPORT med_err
389 MEDmeshEntityAttributeAdvancedRd(const med_idt fid,
390 const char* const meshname,
391 const med_data_type datatype,
392 const med_int numdt,
393 const med_int numit,
394 const med_entity_type entitype,
395 const med_geometry_type geotype,
396 const med_filter * const filter,
397 void * const attval);
398
399 MEDC_EXPORT med_err
400 MEDmeshEntityAttributeAdvancedWr(const med_idt fid,
401 const char* const meshname,
402 const med_data_type datatype,
403 const med_int numdt,
404 const med_int numit,
405 const med_entity_type entitype,
406 const med_geometry_type geotype,
407 const med_filter * const filter,
408 const void * const attval);
409
410 MEDC_EXPORT med_err
411 MEDmeshPolygonWr(const med_idt fid,
412 const char* const meshname,
413 const med_int numdt,
414 const med_int numit,
415 const med_float dt,
416 const med_entity_type entitype,
417 const med_connectivity_mode cmode,
418 const med_int indexsize,
419 const med_int * const polyindex,
420 const med_int * const connectivity );
421
422 MEDC_EXPORT med_err
423 MEDmeshPolygon2Wr(const med_idt fid,
424 const char* const meshname,
425 const med_int numdt,
426 const med_int numit,
427 const med_float dt,
428 const med_entity_type entitype,
429 const med_geometry_type polytype,
430 const med_connectivity_mode cmode,
431 const med_int indexsize,
432 const med_int * const polyindex,
433 const med_int * const connectivity );
434
435 MEDC_EXPORT med_err
436 MEDmeshPolygonRd(const med_idt fid,
437 const char* const meshname,
438 const med_int numdt,
439 const med_int numit,
440 const med_entity_type entitype,
441 const med_connectivity_mode cmode,
442 med_int * const polyindex,
443 med_int * const connectivity );
444
445 MEDC_EXPORT med_err
446 MEDmeshPolygon2Rd(const med_idt fid,
447 const char* const meshname,
448 const med_int numdt,
449 const med_int numit,
450 const med_entity_type entitype,
451 const med_geometry_type polytype,
452 const med_connectivity_mode cmode,
453 med_int * const polyindex,
454 med_int * const connectivity );
455
456 MEDC_EXPORT med_err
457 MEDmeshPolyhedronRd(const med_idt fid,
458 const char* const meshname,
459 const med_int numdt,
460 const med_int numit,
461 const med_entity_type entitype,
462 const med_connectivity_mode cmode,
463 med_int * const faceindex,
464 med_int * const nodeindex,
465 med_int * const connectivity );
466
467 MEDC_EXPORT med_err
468 MEDmeshPolyhedronWr(const med_idt fid,
469 const char* const meshname,
470 const med_int numdt,
471 const med_int numit,
472 const med_float dt,
473 const med_entity_type entitype,
474 const med_connectivity_mode cmode,
475 const med_int faceindexsize,
476 const med_int * const faceindex,
477 const med_int nodeindexsize,
478 const med_int * const nodeindex,
479 const med_int * const connectivity );
480
481 MEDC_EXPORT med_err
482 MEDmeshGeotypeName(const med_idt fid,
483 const med_geometry_type geotype,
484 char * const geotypename);
485 MEDC_EXPORT med_err
486 MEDmeshGeotypeParameter(const med_idt fid,
487 const med_geometry_type geotype,
488 med_int * const geodim,
489 med_int * const nnodes);
490
491 MEDC_EXPORT
492 med_err MEDmeshGlobalNumberWr(const med_idt fid,
493 const char* const meshname,
494 const med_int numdt,
495 const med_int numit,
496 const med_entity_type entitytype,
497 const med_geometry_type geotype,
498 const med_int nentity,
499 const med_int * const number);
500 MEDC_EXPORT
501 med_err MEDmeshGlobalNumberRd(const med_idt fid,
502 const char* const meshname,
503 const med_int numdt,
504 const med_int numit,
505 const med_entity_type entitytype,
506 const med_geometry_type geotype,
507 med_int * const number);
508
509 /* Routines de niveau intermediaire */
510 MEDC_EXPORT
511 med_err MEDmeshNodeWr(const med_idt fid,
512 const char * const meshname,
513 const med_int numdt,
514 const med_int numit,
515 const med_float dt,
516 const med_switch_mode switchmode,
517 const med_int nentity,
518 const med_float * const coordinate,
519 const med_bool withnodename,
520 const char * const nodename,
521 const med_bool withnodenumber,
522 const med_int * const nodenumber,
523 const med_bool withfamnumber,
524 const med_int * const famnumber);
525
526 MEDC_EXPORT
527 med_err MEDmeshNodeRd(const med_idt fid,
528 const char * const meshname,
529 const med_int numdt,
530 const med_int numit,
531 const med_switch_mode switchmode,
532 med_float * const coordinate,
533 med_bool * const withnodename,
534 char * const nodename,
535 med_bool * const withnodenumber,
536 med_int * const nodenumber,
537 med_bool * const withfamnumber,
538 med_int * const famnumber);
539
540 MEDC_EXPORT
541 med_err MEDmeshElementWr(const med_idt fid,
542 const char * const meshname,
543 const med_int numdt,
544 const med_int numit,
545 const med_float dt,
546 const med_entity_type entitype,
547 const med_geometry_type geotype,
548 const med_connectivity_mode cmode,
549 const med_switch_mode switchmode,
550 const med_int nentity,
551 const med_int * const connectivity,
552 const med_bool withelementname,
553 const char * const elementname,
554 const med_bool withelementnumber,
555 const med_int * const elementnumber,
556 const med_bool withfamnumber,
557 const med_int * const famnumber);
558 MEDC_EXPORT
559 med_err MEDmeshElementRd(const med_idt fid,
560 const char * const meshname,
561 const med_int numdt,
562 const med_int numit,
563 const med_entity_type entitype,
564 const med_geometry_type geotype,
565 const med_connectivity_mode cmode,
566 const med_switch_mode switchmode,
567 med_int * const connectivity,
568 med_bool * const withelementname,
569 char * const elementname,
570 med_bool * const withelementnumber,
571 med_int * const elementnumber,
572 med_bool * const withfamnumber,
573 med_int * const famnumber);
574
575 /* Maillages support aux modèles d'éléments de structure */
576
577 MEDC_EXPORT med_err
578 MEDsupportMeshCr(const med_idt fid,
579 const char* const supportmeshname,
580 const med_int spacedim,
581 const med_int meshdim,
582 const char* const description,
583 const med_axis_type axistype,
584 const char* const axisname,
585 const char* const axisunit
586 );
587
588
589
590 MEDC_EXPORT med_err
591 MEDsupportMeshInfoByName(const med_idt fid,
592 const char * const supportmeshname,
593 med_int * const spacedim,
594 med_int * const meshdim,
595 char * const description,
596 med_axis_type * const axistype,
597 char * const axisname,
598 char * const axisunit);
599
600 MEDC_EXPORT med_err
601 MEDsupportMeshInfo(const med_idt fid,
602 const int meshit,
603 char * const supportmeshname,
604 med_int * const spacedim,
605 med_int * const meshdim,
606 char * const description,
607 med_axis_type * const axistype,
608 char * const axisname,
609 char * const axisunit);
610
611 MEDC_EXPORT med_int
612 MEDnSupportMesh(const med_idt fid);
613
614 MEDC_EXPORT med_int
615 MEDsupportMeshnAxis(const med_idt fid, const int meshit);
616
617 MEDC_EXPORT med_int
618 MEDsupportMeshnAxisByName(const med_idt fid, const char * const meshname);
619
620
621 #ifdef __cplusplus
622 }
623 #endif
624
625 #endif /* MED_MEDMESH_H */
626
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
MEDmeshComputationStepCr
MEDC_EXPORT med_err MEDmeshComputationStepCr(const med_idt fid, const char *const meshname, const med_int numdt1, const med_int numit1, const med_int numdt2, const med_int numit2, const med_float dt2)
Cette routine permet de créer une nouvelle étape de calcul dans un maillage.
Definition: MEDmeshComputationStepCr.c:40
med_grid_type
med_grid_type
Definition: med.h:139
med_geometry_type
int med_geometry_type
Definition: med.h:196
MEDsupportMeshnAxis
MEDC_EXPORT med_int MEDsupportMeshnAxis(const med_idt fid, const int meshit)
Cette routine permet de lire dans un maillage support le nombre d'axes du repère des coordonnées des ...
Definition: MEDsupportMeshnAxis.c:35
MEDnMesh
MEDC_EXPORT med_int MEDnMesh(const med_idt fid)
Cette routine permet de lire le nombre de maillages dans un fichier.
Definition: MEDnMesh.c:34
med_idt
hid_t med_idt
Definition: med.h:333
MEDmeshEntityInfo
MEDC_EXPORT med_err MEDmeshEntityInfo(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const int geotypeit, char *const geotypename, med_geometry_type *const geotype)
Cette routine indique de façon itérative les types géométriques disponibles dans un maillage.
Definition: MEDmeshEntityInfo.c:41
MEDmeshElementConnectivityWithProfileRd
MEDC_EXPORT med_err MEDmeshElementConnectivityWithProfileRd(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_connectivity_mode cmode, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, const med_int nentity, med_int *const connectivity)
Cette routine permet de lire dans un maillage le tableau des connectivités pour un type géométrique d...
Definition: MEDmeshElementConnectivityWithProfileRd.c:44
MEDmeshUniversalNameRd
MEDC_EXPORT med_err MEDmeshUniversalNameRd(const med_idt fid, const char *const meshname, char *const univname)
Cette routine permet la lecture du nom universel d'un maillage.
Definition: MEDmeshUniversalNameRd.c:38
MEDmeshPolygon2Rd
MEDC_EXPORT med_err MEDmeshPolygon2Rd(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 polytype, const med_connectivity_mode cmode, med_int *const polyindex, med_int *const connectivity)
Cette routine permet la lecture des connectivités de polygones.
Definition: MEDmeshPolygon2Rd.c:44
MEDmeshNodeCoordinateAdvancedWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateAdvancedWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_filter *const filter, const med_float *const value)
Cette routine permet d'écrire dans un maillage le tableau des coordonnées des noeuds,...
Definition: MEDmeshNodeCoordinateAdvancedWr.c:42
MEDmeshGridIndexCoordinateRd
MEDC_EXPORT med_err MEDmeshGridIndexCoordinateRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_int axis, med_float *const gridindex)
Cette routine permet la lecture des coordonnées des noeuds d'un maillage structuré selon un axe du re...
Definition: MEDmeshGridIndexCoordinateRd.c:39
MEDsupportMeshInfo
MEDC_EXPORT med_err MEDsupportMeshInfo(const med_idt fid, const int meshit, char *const supportmeshname, med_int *const spacedim, med_int *const meshdim, char *const description, med_axis_type *const axistype, char *const axisname, char *const axisunit)
Cette routine permet de lire les informations relatives à un maillage support dans un fichier.
Definition: MEDsupportMeshInfo.c:39
MEDmeshNodeRd
MEDC_EXPORT med_err MEDmeshNodeRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_switch_mode switchmode, med_float *const coordinate, med_bool *const withnodename, char *const nodename, med_bool *const withnodenumber, med_int *const nodenumber, med_bool *const withfamnumber, med_int *const famnumber)
Cette routine permet la lecture des noeuds d'un maillage non structuré pour une étape de calcul donné...
Definition: MEDmeshNodeRd.c:43
MEDsupportMeshnAxisByName
MEDC_EXPORT med_int MEDsupportMeshnAxisByName(const med_idt fid, const char *const meshname)
Cette routine permet de lire dans un maillage support le nombre d'axes du repère des coordonnées des ...
Definition: MEDsupportMeshnAxisByName.c:35
med_err
herr_t med_err
Definition: med.h:334
MEDmeshEntityNumberWr
MEDC_EXPORT med_err MEDmeshEntityNumberWr(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_int nentity, const med_int *const number)
Cette routine permet d'écrire les numéros d'un type d'entité d'un maillage.
Definition: MEDmeshEntityNumberWr.c:39
MEDmeshEntityNameRd
MEDC_EXPORT med_err MEDmeshEntityNameRd(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, char *const name)
Cette routine permet de lire les noms d'un type d'entité d'un maillage.
Definition: MEDmeshEntityNameRd.c:38
med_sorting_type
med_sorting_type
Definition: med.h:311
MEDmeshInfo
MEDC_EXPORT med_err MEDmeshInfo(const med_idt fid, const int meshit, 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)
Cette routine permet de lire les informations relatives à un maillage dans un fichier.
Definition: MEDmeshInfo.c:43
MEDmeshSortingTypeRd
MEDC_EXPORT med_err MEDmeshSortingTypeRd(const med_idt fid, const char *const meshname, med_sorting_type *const sortingtype)
Cette routine lit l'ordre de tri des étapes évolutives du maillage.
Definition: MEDmeshSortingTypeRd.c:35
med_entity_type
med_entity_type
Definition: med.h:145
MEDmeshElementConnectivityWithProfileWr
MEDC_EXPORT med_err MEDmeshElementConnectivityWithProfileWr(const med_idt fid, const char *const meshname, 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_int nentity, const med_int *const connectivity)
Cette routine permet d'écrire dans un maillage le tableau des connectivités pour un type géométrique ...
Definition: MEDmeshElementConnectivityWithProfileWr.c:45
MEDmeshPolygon2Wr
MEDC_EXPORT med_err MEDmeshPolygon2Wr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_geometry_type polytype, const med_connectivity_mode cmode, const med_int indexsize, const med_int *const polyindex, const med_int *const connectivity)
Cette routine permet l'écriture des connectivités de polygones.
Definition: MEDmeshPolygon2Wr.c:46
MEDmeshPolyhedronWr
MEDC_EXPORT med_err MEDmeshPolyhedronWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_connectivity_mode cmode, const med_int faceindexsize, const med_int *const faceindex, const med_int nodeindexsize, const med_int *const nodeindex, const med_int *const connectivity)
Cette routine permet l'écriture dans un maillage des connectivités de polyèdres.
Definition: MEDmeshPolyhedronWr.c:47
MEDmeshGlobalNumberWr
MEDC_EXPORT med_err MEDmeshGlobalNumberWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitytype, const med_geometry_type geotype, const med_int nentity, const med_int *const number)
Cette routine permet l'écriture d'une numérotation globale sur un maillage pour un type d'entité,...
Definition: MEDmeshGlobalNumberWr.c:41
MEDmeshInfoByName
MEDC_EXPORT med_err MEDmeshInfoByName(const med_idt fid, 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)
Cette routine permet de lire les informations relatives à un maillage en précisant son nom.
Definition: MEDmeshInfoByName.c:42
med_int
int med_int
Definition: med.h:344
MEDmeshElementConnectivityAdvancedRd
MEDC_EXPORT med_err MEDmeshElementConnectivityAdvancedRd(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_connectivity_mode cmode, const med_filter *const filter, med_int *const connectivity)
Cette routine permet de lire dans un maillage le tableau des connectivités pour un type géométrique d...
Definition: MEDmeshElementConnectivityAdvancedRd.c:40
MEDmeshNodeCoordinateAdvancedRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateAdvancedRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_filter *const filter, med_float *const value)
Cette routine permet de lire dans un maillage le tableau des coordonnées des noeuds,...
Definition: MEDmeshNodeCoordinateAdvancedRd.c:37
MEDmeshEntityFamilyNumberWr
MEDC_EXPORT med_err MEDmeshEntityFamilyNumberWr(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_int nentity, const med_int *const number)
Cette routine permet l'écriture des numéros de famille d'un type d'entité d'un maillage.
Definition: MEDmeshEntityFamilyNumberWr.c:39
MEDmeshNodeCoordinateTrsfWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateTrsfWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_float *const coordinatetrsf)
Cette routine définit les paramètres de translation rotation à appliquer aux noeuds de l'étape de cal...
Definition: MEDmeshNodeCoordinateTrsfWr.c:41
med_filter
Filtre de sélection.
Definition: med.h:357
MEDmeshNodeWr
MEDC_EXPORT med_err MEDmeshNodeWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_switch_mode switchmode, const med_int nentity, const med_float *const coordinate, const med_bool withnodename, const char *const nodename, const med_bool withnodenumber, const med_int *const nodenumber, const med_bool withfamnumber, const med_int *const famnumber)
Cette routine permet l'écriture des noeuds d'un maillage non structuré pour une étape de calcul donné...
Definition: MEDmeshNodeWr.c:45
MEDmeshNodeCoordinateWithProfileWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateWithProfileWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, const med_int nentity, const med_float *const coordinates)
Cette routine permet d'écrire dans un maillage le tableau des coordonnées des noeuds,...
Definition: MEDmeshNodeCoordinateWithProfileWr.c:46
med_bool
med_bool
Definition: med.h:262
MEDmeshAttributeRd
MEDC_EXPORT med_err MEDmeshAttributeRd(const med_idt fid, const char *const meshname, med_int *const isolatednodes, med_int *const verticesnodes, med_int *const cellmaxnodes)
Cette routine permet la lecture des attributs optionnels d'un maillage.
Definition: MEDmeshAttributeRd.c:36
MEDmeshElementConnectivityAdvancedWr
MEDC_EXPORT med_err MEDmeshElementConnectivityAdvancedWr(const med_idt fid, const char *const meshname, 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_filter *const filter, const med_int *const connectivity)
Cette routine permet d'écrire dans un maillage le tableau des connectivités pour un type géométrique ...
Definition: MEDmeshElementConnectivityAdvancedWr.c:41
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, med_bool *const changement, med_bool *const transformation)
Cette routine permet de lire le nombre d'entités dans un maillage pour une étape de calcul donnée.
Definition: MEDmeshnEntity.c:44
MEDmeshComputationStepInfo
MEDC_EXPORT med_err MEDmeshComputationStepInfo(const med_idt fid, const char *const meshname, const int csit, med_int *const numdt, med_int *const numit, med_float *const dt)
Cette routine permet de lire les informations relatives à une étape de calcul d'un maillage.
Definition: MEDmeshComputationStepInfo.c:38
MEDmeshAttributeWr
MEDC_EXPORT med_err MEDmeshAttributeWr(const med_idt fid, const char *const meshname, const med_int isolatednodes, const med_int verticesnodes, const med_int cellmaxnodes)
Cette routine permet l'écriture des attributs optionnels d'un maillage.
Definition: MEDmeshAttributeWr.c:35
med_float
double med_float
Definition: med.h:338
MEDmeshNodeCoordinateWithProfileRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateWithProfileRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, med_float *const coordinates)
Cette routine permet de lire dans un maillage le tableau des coordonnées des noeuds,...
Definition: MEDmeshNodeCoordinateWithProfileRd.c:40
MEDmeshUniversalNameWr
MEDC_EXPORT med_err MEDmeshUniversalNameWr(const med_idt fid, const char *const meshname)
Cette routine permet l'écriture du nom universel d'un maillage.
Definition: MEDmeshUniversalNameWr.c:63
MEDmeshGlobalNumberRd
MEDC_EXPORT med_err MEDmeshGlobalNumberRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitytype, const med_geometry_type geotype, med_int *const number)
Cette routine permet la lecture d'une numérotation globale sur un maillage pour un type d'entité,...
Definition: MEDmeshGlobalNumberRd.c:40
MEDmeshnEntityWithProfile
MEDC_EXPORT med_int MEDmeshnEntityWithProfile(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)
Cette routine permet de lire le nombre d'entités dans un maillage pour une étape de calcul et un prof...
Definition: MEDmeshnEntityWithProfile.c:47
MEDmeshComputationStepDtRd
MEDC_EXPORT med_err MEDmeshComputationStepDtRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int umit, med_float *const dt)
Definition: MEDmeshComputationStepDtRd.c:27
MEDmeshPolygonRd
MEDC_EXPORT med_err MEDmeshPolygonRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_connectivity_mode cmode, med_int *const polyindex, med_int *const connectivity)
Cette routine permet la lecture des connectivités de polygones.
Definition: MEDmeshPolygonRd.c:44
MEDmeshElementConnectivityWr
MEDC_EXPORT med_err MEDmeshElementConnectivityWr(const med_idt fid, const char *const meshname, 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_switch_mode switchmode, const med_int nentity, const med_int *const connectivity)
Cette routine permet d'écrire dans un maillage le tableau des connectivités pour un type géométrique ...
Definition: MEDmeshElementConnectivityWr.c:42
MEDmeshGridIndexCoordinateWr
MEDC_EXPORT med_err MEDmeshGridIndexCoordinateWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_int axis, const med_int indexsize, const med_float *const gridindex)
Cette routine permet l'écriture des coordonnées des noeuds d'un maillage structuré selon un axe du re...
Definition: MEDmeshGridIndexCoordinateWr.c:43
MEDmeshGeotypeName
MEDC_EXPORT med_err MEDmeshGeotypeName(const med_idt fid, const med_geometry_type geotype, char *const geotypename)
Cette routine renvoie le nom associé à un type géométrique.
Definition: MEDmeshGeotypeName.c:35
MEDmeshGridStructRd
MEDC_EXPORT med_err MEDmeshGridStructRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, med_int *const gridstruct)
Cette routine permet la lecture de la structure (nombre de points sur chaque axe du repère) d'un mail...
Definition: MEDmeshGridStructRd.c:40
med_mesh_type
med_mesh_type
Definition: med.h:133
MEDmeshnAxisByName
MEDC_EXPORT med_int MEDmeshnAxisByName(const med_idt fid, const char *const meshname)
Cette routine permet de lire dans un maillage le nombre d'axes du repère des coordonnées des noeuds a...
Definition: MEDmeshnAxisByName.c:35
MEDmeshCr
MEDC_EXPORT med_err MEDmeshCr(const med_idt fid, 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)
Cette routine permet de créer un maillage dans un fichier.
Definition: MEDmeshCr.c:45
MEDsupportMeshCr
MEDC_EXPORT med_err MEDsupportMeshCr(const med_idt fid, const char *const supportmeshname, const med_int spacedim, const med_int meshdim, const char *const description, const med_axis_type axistype, const char *const axisname, const char *const axisunit)
Cette routine permet de créer un maillage support.
Definition: MEDsupportMeshCr.c:46
MEDmeshEntityAttributeAdvancedWr
MEDC_EXPORT med_err MEDmeshEntityAttributeAdvancedWr(const med_idt fid, const char *const meshname, const med_data_type datatype, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_filter *const filter, const void *const attval)
Cette routine permet d'écrire les attributs optionnels d'entités d'un maillage en utilisant un filtre...
Definition: MEDmeshEntityAttributeAdvancedWr.c:42
MEDmeshEntityNumberRd
MEDC_EXPORT med_err MEDmeshEntityNumberRd(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, med_int *const number)
Cette routine permet de lire les numéros d'un type d'entité d'un maillage.
Definition: MEDmeshEntityNumberRd.c:38
MEDmeshEntityFamilyNumberRd
MEDC_EXPORT med_err MEDmeshEntityFamilyNumberRd(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, med_int *const number)
Cette routine permet la lecture des numéros de famille d'un type d'entité d'un maillage.
Definition: MEDmeshEntityFamilyNumberRd.c:39
MEDmeshGridTypeRd
MEDC_EXPORT med_err MEDmeshGridTypeRd(const med_idt fid, const char *const meshname, med_grid_type *const gridtype)
Cette routine permet de lire le type d'un maillage structuré (MED_STRUCTURED_MESH).
Definition: MEDmeshGridTypeRd.c:36
med_data_type
med_data_type
Definition: med.h:151
med_switch_mode
med_switch_mode
Definition: med.h:98
MEDmeshGridStructWr
MEDC_EXPORT med_err MEDmeshGridStructWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_int *const gridstruct)
Cette routine définit la structure (nombre de points sur chaque axe du repère) d'un maillage structur...
Definition: MEDmeshGridStructWr.c:41
MEDmeshElementWr
MEDC_EXPORT med_err MEDmeshElementWr(const med_idt fid, const char *const meshname, 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_switch_mode switchmode, const med_int nentity, const med_int *const connectivity, const med_bool withelementname, const char *const elementname, const med_bool withelementnumber, const med_int *const elementnumber, const med_bool withfamnumber, const med_int *const famnumber)
Cette routine permet l'écriture d'un type d'élément d'un maillage non structuré pour une étape de cal...
Definition: MEDmeshElementWr.c:48
MEDmeshEntityNameWr
MEDC_EXPORT med_err MEDmeshEntityNameWr(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_int nentity, const char *const name)
Cette routine permet d'écrire les noms d'un type d'entité d'un maillage.
Definition: MEDmeshEntityNameWr.c:39
MEDmeshPolygonWr
MEDC_EXPORT med_err MEDmeshPolygonWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_connectivity_mode cmode, const med_int indexsize, const med_int *const polyindex, const med_int *const connectivity)
Cette routine permet l'écriture des connectivités de polygones.
Definition: MEDmeshPolygonWr.c:45
med_axis_type
med_axis_type
Definition: med.h:260
MEDmeshGridTypeWr
MEDC_EXPORT med_err MEDmeshGridTypeWr(const med_idt fid, const char *const meshname, const med_grid_type gridtype)
Cette routine permet de définir le type d'un maillage structuré (MED_STRUCTURED_MESH).
Definition: MEDmeshGridTypeWr.c:37
MEDmeshPolyhedronRd
MEDC_EXPORT med_err MEDmeshPolyhedronRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_connectivity_mode cmode, med_int *const faceindex, med_int *const nodeindex, med_int *const connectivity)
Cette routine permet la lecture dans un maillage des connectivités de polyèdres.
Definition: MEDmeshPolyhedronRd.c:45
MEDmeshNodeCoordinateTrsfRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateTrsfRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float *const coordinatetrsf)
Cette routine lit les paramètres de translation rotation à appliquer aux noeuds de l'étape de calcul ...
Definition: MEDmeshNodeCoordinateTrsfRd.c:40
MEDmeshGeotypeParameter
MEDC_EXPORT med_err MEDmeshGeotypeParameter(const med_idt fid, const med_geometry_type geotype, med_int *const geodim, med_int *const nnodes)
Cette routine renvoie les caractéristiques d'un type géométrique de maille.
Definition: MEDmeshGeotypeParameter.c:34
medC_win_dll.h
med_storage_mode
med_storage_mode
Definition: med.h:110
MEDmeshnAxis
MEDC_EXPORT med_int MEDmeshnAxis(const med_idt fid, const int meshit)
Cette routine permet de lire dans un maillage le nombre d'axes du repère des coordonnées des noeuds.
Definition: MEDmeshnAxis.c:35
MEDnSupportMesh
MEDC_EXPORT med_int MEDnSupportMesh(const med_idt fid)
Cette routine permet de lire le nombre de maillages support dans un fichier.
Definition: MEDnSupportMesh.c:34
MEDmeshNodeCoordinateWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_switch_mode switchmode, const med_int nentity, const med_float *const coordinates)
Cette routine permet d'écrire dans un maillage le tableau des coordonnées des noeuds,...
Definition: MEDmeshNodeCoordinateWr.c:45
MEDmeshEntityAttributeAdvancedRd
MEDC_EXPORT med_err MEDmeshEntityAttributeAdvancedRd(const med_idt fid, const char *const meshname, const med_data_type datatype, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_filter *const filter, void *const attval)
Cette routine permet de lire les attributs optionnels d'entités d'un maillage en utilisant un filtre.
Definition: MEDmeshEntityAttributeAdvancedRd.c:42
MEDmeshNodeCoordinateRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_switch_mode switchmode, med_float *const coordinates)
Cette routine permet de lire dans un maillage le tableau des coordonnées des noeuds,...
Definition: MEDmeshNodeCoordinateRd.c:37
MEDmeshElementRd
MEDC_EXPORT med_err MEDmeshElementRd(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_connectivity_mode cmode, const med_switch_mode switchmode, med_int *const connectivity, med_bool *const withelementname, char *const elementname, med_bool *const withelementnumber, med_int *const elementnumber, med_bool *const withfamnumber, med_int *const famnumber)
Cette routine permet la lecture d'un type d'élément d'un maillage non structuré pour une étape de cal...
Definition: MEDmeshElementRd.c:47
MEDsupportMeshInfoByName
MEDC_EXPORT med_err MEDsupportMeshInfoByName(const med_idt fid, const char *const supportmeshname, med_int *const spacedim, med_int *const meshdim, char *const description, med_axis_type *const axistype, char *const axisname, char *const axisunit)
Cette routine permet de lire les informations relatives à un maillage support en précisant son nom.
Definition: MEDsupportMeshInfoByName.c:39
med_connectivity_mode
med_connectivity_mode
Definition: med.h:257
MEDmeshElementConnectivityRd
MEDC_EXPORT med_err MEDmeshElementConnectivityRd(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_connectivity_mode cmode, const med_switch_mode switchmode, med_int *const connectivity)
Cette routine permet de lire dans un maillage le tableau des connectivités pour un type géométrique d...
Definition: MEDmeshElementConnectivityRd.c:40