MED fichier
medmesh.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_MEDMESH_H
19#define MED_MEDMESH_H
20
21#include "medC_win_dll.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* Interface de l'API MED */
28
30MEDmeshCr(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
40MEDmeshInfoByName(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
48MEDmeshInfo(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
63MEDnMesh(const med_idt fid);
64
66MEDmeshnAxis(const med_idt fid, const int meshit);
67
69MEDmeshnAxisByName(const med_idt fid, const char * const meshname);
70
72MEDmeshGridTypeWr(const med_idt fid,const char * const meshname, const med_grid_type gridtype);
73
75MEDmeshGridTypeRd(const med_idt fid,const char * const meshname, med_grid_type * const gridtype);
76
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);
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
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
104 const char* const meshname,
105 const med_int numdt,
106 const med_int numit,
107 med_int * const gridstruct);
108
110MEDmeshUniversalNameWr(const med_idt fid, const char * const meshname);
111
113MEDmeshUniversalNameRd(const med_idt fid, const char * const meshname,char * const univname);
114
116MEDmeshComputationStepCr(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
123 const char * const meshname,
124 med_int * const isolatednodes,
125 med_int * const verticesnodes,
126 med_int * const cellmaxnodes);
127
129MEDmeshAttributeWr(const med_idt fid, const char * const meshname,
130 const med_int isolatednodes,const med_int verticesnodes,const med_int cellmaxnodes);
131
133MEDmeshComputationStepDtRd(const med_idt fid,const char * const meshname,
134 const med_int numdt, const med_int umit, med_float * const dt );
135
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
146 const char* const meshname,
147 med_sorting_type * const sortingtype );
148
149
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);
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);
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
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);
189 const char* const meshname,
190 const med_int numdt,
191 const med_int numit,
192 const med_float* const coordinatetrsf);
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
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);
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
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);
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);
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
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);
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);
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*/
295MEDmeshnEntity(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
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
322MEDmeshEntityInfo(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
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
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
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
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
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);
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
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
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
411MEDmeshPolygonWr(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
423MEDmeshPolygon2Wr(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
436MEDmeshPolygonRd(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
446MEDmeshPolygon2Rd(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
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
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
483 const med_geometry_type geotype,
484 char * const geotypename);
487 const med_geometry_type geotype,
488 med_int * const geodim,
489 med_int * const nnodes);
490
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);
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 */
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
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
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);
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
578MEDsupportMeshCr(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
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
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
612MEDnSupportMesh(const med_idt fid);
613
615MEDsupportMeshnAxis(const med_idt fid, const int meshit);
616
618MEDsupportMeshnAxisByName(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 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...
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,...
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 ...
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...
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.
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
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.
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...
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.
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).
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,...
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.
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.
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...
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.
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.
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.
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.
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...
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.
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
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
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
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é,...
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.
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.
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...
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 ...
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.
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...
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...
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.
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,...
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...
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...
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.
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é,...
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,...
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).
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.
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.
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 ...
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
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.
MEDC_EXPORT med_err MEDmeshUniversalNameWr(const med_idt fid, const char *const meshname)
Cette routine permet l'écriture du nom universel d'un maillage.
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.
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
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.
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.
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 ...
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.
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...
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,...
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,...
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.
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...
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.
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...
MEDC_EXPORT med_int MEDnSupportMesh(const med_idt fid)
Cette routine permet de lire le nombre de maillages support dans un fichier.
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.
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.
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 ...
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.
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 ...
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
med_switch_mode
Definition: med.h:96
int med_geometry_type
Definition: med.h:194
med_bool
Definition: med.h:260
med_data_type
Definition: med.h:149
med_storage_mode
Definition: med.h:108
med_grid_type
Definition: med.h:137
med_axis_type
Definition: med.h:258
med_sorting_type
Definition: med.h:300
med_mesh_type
Definition: med.h:131
int med_int
Definition: med.h:333
med_entity_type
Definition: med.h:143
double med_float
Definition: med.h:327
herr_t med_err
Definition: med.h:323
hid_t med_idt
Definition: med.h:322
med_connectivity_mode
Definition: med.h:255
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)
Filtre de sélection.
Definition: med.h:346