MED fichier

medequivalence.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2021 EDF R&D, CEA/DEN
4 * MED is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * MED is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with MED. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef MED_MEDEQUIVALENCE_H
19 #define MED_MEDEQUIVALENCE_H
20
21 #include "medC_win_dll.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27
28 /* Equivalence */
29
30 MEDC_EXPORT med_err
31 MEDequivalenceCr(const med_idt fid,
32 const char * const meshname,
33 const char * const equivname,
34 const char * const description);
35
36 MEDC_EXPORT med_err
37 MEDequivalenceCorrespondenceWr(const med_idt fid,
38 const char * const meshname,
39 const char * const equivname,
40 const med_int numdt,
41 const med_int numit,
42 const med_entity_type entitype,
43 const med_geometry_type geotype,
44 const med_int nentity,
45 const med_int * const correspondence);
46
47 MEDC_EXPORT med_err
48 MEDequivalenceCorrespondenceRd(const med_idt fid,
49 const char * const meshname,
50 const char * const equivname,
51 const med_int numdt,
52 const med_int numit,
53 const med_entity_type entitype,
54 const med_geometry_type geotype,
55 med_int * const correspondence);
56
57 MEDC_EXPORT med_int
58 MEDnEquivalence(const med_idt fid,
59 const char * const meshname);
60
61 MEDC_EXPORT med_err
62 MEDequivalenceInfo(const med_idt fid,
63 const char * const meshname,
64 const int equivit,
65 char * const equivname,
66 char * const equivdescription,
67 med_int * const nstep,
68 med_int * const nocstpncorrespondence);
69
70 MEDC_EXPORT med_err
71 MEDequivalenceComputingStepInfo(const med_idt fid,
72 const char * const meshname,
73 const char * const equivname,
74 const int csit,
75 med_int * const numdt,
76 med_int * const numit,
77 med_int * const ncorrespondence );
78
79
80 MEDC_EXPORT med_err
81 MEDequivalenceCorrespondenceSizeInfo(const med_idt fid,
82 const char * const meshname,
83 const char * const equivname,
84 const med_int numdt,
85 const med_int numit,
86 const int corit,
87 med_entity_type * const entitype,
88 med_geometry_type* const geotype,
89 med_int * const nentity );
90
91 /*Uses case equivalencename from Mesh element iteration*/
92 /* MEDC_EXPORT med_err */
93 /* MEDequivalenceInfoByName(const med_idt fid, */
94 /* const char * const meshname, */
95 /* const char * const equivname, */
96 /* char * const equivdescription, */
97 /* med_int * const nstep, */
98 /* med_int * const nocstpncorrespondence); */
99
100 MEDC_EXPORT med_err
101 MEDequivalenceCorrespondenceSize(const med_idt fid,
102 const char * const meshname,
103 const char * const equivname,
104 const med_int numdt,
105 const med_int numit,
106 const med_entity_type entitype,
107 const med_geometry_type geotype,
108 med_int * const nentity );
109
110
111
112 /* MEDC_EXPORT med_err */
113 /* MEDmeshEquivalenceInfo(const med_idt fid, */
114 /* const char * const meshname, */
115 /* const med_int numdt, */
116 /* const med_int numit, */
117 /* const med_entity_type entitype, */
118 /* const med_geometry_type geotype, */
119 /* char * const equivname ); */
120
121 #ifdef __cplusplus
122 }
123 #endif
124
125 #endif /* MED_MEDEQUIVALENCE_H */
126
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
MEDequivalenceCorrespondenceSizeInfo
MEDC_EXPORT med_err MEDequivalenceCorrespondenceSizeInfo(const med_idt fid, const char *const meshname, const char *const equivname, const med_int numdt, const med_int numit, const int corit, med_entity_type *const entitype, med_geometry_type *const geotype, med_int *const nentity)
Cette routine permet de lire les informations relatives à un tableau de correspondances dans une équi...
Definition: MEDequivalenceCorrespondenceSizeInfo.c:42
med_geometry_type
int med_geometry_type
Definition: med.h:194
med_idt
hid_t med_idt
Definition: med.h:331
med_err
herr_t med_err
Definition: med.h:332
med_entity_type
med_entity_type
Definition: med.h:143
MEDequivalenceCorrespondenceSize
MEDC_EXPORT med_err MEDequivalenceCorrespondenceSize(const med_idt fid, const char *const meshname, const char *const equivname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, med_int *const nentity)
Cette routine permet de lire le nombre de correspondances dans une équivalence pour une étape de calc...
Definition: MEDequivalenceCorrespondenceSize.c:41
MEDnEquivalence
MEDC_EXPORT med_int MEDnEquivalence(const med_idt fid, const char *const meshname)
Cette routine permet de lire le nombre d'équivalence dans un fichier.
Definition: MEDnEquivalence.c:36
med_int
int med_int
Definition: med.h:342
medC_win_dll.h
MEDequivalenceCorrespondenceRd
MEDC_EXPORT med_err MEDequivalenceCorrespondenceRd(const med_idt fid, const char *const meshname, const char *const equivname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, med_int *const correspondence)
Cette routine permet de lire un tableau de correspondances entre les entités d'un maillage dans une é...
Definition: MEDequivalenceCorrespondenceRd.c:41
MEDequivalenceInfo
MEDC_EXPORT med_err MEDequivalenceInfo(const med_idt fid, const char *const meshname, const int equivit, char *const equivname, char *const equivdescription, med_int *const nstep, med_int *const nocstpncorrespondence)
Cette routine permet lire les informations d'une équivalence portant sur les entités d'un maillage.
Definition: MEDequivalenceInfo.c:40
MEDequivalenceCorrespondenceWr
MEDC_EXPORT med_err MEDequivalenceCorrespondenceWr(const med_idt fid, const char *const meshname, const char *const equivname, 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 correspondence)
Cette routine permet d'écrire un tableau de correspondances entre les entités d'un maillage dans une ...
Definition: MEDequivalenceCorrespondenceWr.c:43
MEDequivalenceComputingStepInfo
MEDC_EXPORT med_err MEDequivalenceComputingStepInfo(const med_idt fid, const char *const meshname, const char *const equivname, const int csit, med_int *const numdt, med_int *const numit, med_int *const ncorrespondence)
Cette routine permet de lire les informations relatives à une équivalence pour une étape de calcul do...
Definition: MEDequivalenceComputingStepInfo.c:40
MEDequivalenceCr
MEDC_EXPORT med_err MEDequivalenceCr(const med_idt fid, const char *const meshname, const char *const equivname, const char *const description)
Cette routine permet la création d'une équivalence portant sur les entités d'un maillage.
Definition: MEDequivalenceCr.c:37