med_proto.h

Aller à la documentation de ce fichier.
00001 /*  This file is part of MED.
00002  *
00003  *  COPYRIGHT (C) 1999 - 2012  EDF R&D, CEA/DEN
00004  *  MED is free software: you can redistribute it and/or modify
00005  *  it under the terms of the GNU Lesser General Public License as published by
00006  *  the Free Software Foundation, either version 3 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  MED is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Lesser General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU Lesser General Public License
00015  *  along with MED.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00018 #ifndef MED_PROTO_H
00019 #define MED_PROTO_H
00020 
00021 #include "medC_win_dll.h"
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 /* Interface de l'API MED */
00028 /* Library */
00029 MEDC_EXPORT med_err
00030 MEDlibraryNumVersion(med_int* const major,
00031                      med_int* const minor,
00032                      med_int* const release);
00033 
00034 MEDC_EXPORT med_err
00035 MEDlibraryStrVersion(char* const medversion);
00036 
00037 MEDC_EXPORT med_err
00038 MEDlibraryHdfNumVersion(med_int* const major,
00039                         med_int* const minor,
00040                         med_int* const release);
00041 MEDC_EXPORT med_err
00042 MEDlibraryHdfStrVersion(char* const  version);
00043 MEDC_EXPORT med_err
00044 MEDlibraryClose(void);
00045 
00046 /* File */
00047 MEDC_EXPORT med_idt
00048 MEDfileOpen(const char* const filename,
00049             const med_access_mode accessmode);
00050 
00051 #ifdef MED_HAVE_MPI
00052 MEDC_EXPORT med_idt
00053 MEDparFileOpen(const char* const filename,
00054                const med_access_mode accessmode,
00055                const MPI_Comm comm, const MPI_Info info);
00056 
00057 #endif
00058 
00059 MEDC_EXPORT med_err
00060 MEDfileClose(med_idt fid);
00061 
00062 MEDC_EXPORT med_err
00063 MEDfileCommentWr(const med_idt fid,
00064                  const char* const comment);
00065 MEDC_EXPORT med_err
00066 MEDfileCommentRd(const med_idt fid,
00067                  char* const comment);
00068 MEDC_EXPORT med_err
00069 MEDfileCompatibility(const char* const filename,
00070                      med_bool* const hdfok,
00071                      med_bool* const medok);
00072 MEDC_EXPORT med_err
00073 MEDfileNumVersionRd(const med_idt fid,
00074                     med_int* const major,
00075                     med_int* const minor,
00076                     med_int* const release);
00077 MEDC_EXPORT med_err
00078 MEDfileStrVersionRd(const med_idt fid,
00079                     char* const version);
00080 MEDC_EXPORT med_idt
00081 MEDfileObjectsMount(const med_idt fid,
00082                     const char* const filename,
00083                     const med_class medclass);
00084 MEDC_EXPORT med_err
00085 MEDfileObjectsUnmount(const med_idt fid,
00086                       const med_idt mid,
00087                       const med_class medclass);
00088 
00089 /* Mesh */
00090 
00091 /*routine interne*/
00092 MEDC_EXPORT med_err
00093 _MEDmeshCr(const med_idt fid, const char * const root,
00094            const char * const meshname, const med_int spacedim,
00095            const med_int meshdim, const med_mesh_type meshtype,
00096            const char * const description, const char * const dtunit,
00097            const med_sorting_type sortingtype,
00098            const med_axis_type axistype, const char * const axisname,
00099            const char * const axisunit);
00100 
00101 MEDC_EXPORT med_err
00102 MEDmeshCr(const med_idt fid,
00103           const char * const meshname, const med_int spacedim,
00104           const med_int meshdim, const med_mesh_type meshtype,
00105           const char * const description, const char * const dtunit,
00106           const med_sorting_type sortingtype,
00107           const med_axis_type axistype, const char * const axisname,
00108           const char * const axisunit);
00109 
00110 /*routine interne*/
00111 MEDC_EXPORT med_err
00112 _MEDmeshInfoByName(const med_idt fid, const char * const root,const char * const meshname,
00113                    med_int * const spacedim,med_int * const meshdim,  med_mesh_type * const meshtype,
00114                    char * const description,  char * const dtunit,
00115                    med_sorting_type *const sortingtype,
00116                    med_int * const nstep,  med_axis_type * const axistype,  char * const axisname,
00117                    char * const axisunit);
00118 
00119 /*routine interne*/
00120 MEDC_EXPORT med_idt
00121 _MEDmeshAssociatedGroupCr(const med_idt               id,
00122                           const char*  const          rootname,
00123                           const char*  const          meshname,
00124                           const med_int               numdt,
00125                           const med_int               numit,
00126                           const med_float             dt,
00127                           const med_bool              justopen,
00128                           const char*  const          datagroupname );
00129 
00130 MEDC_EXPORT med_err
00131 MEDmeshInfoByName(const med_idt fid,const char * const meshname,
00132                   med_int * const spacedim, med_int * const meshdim,  med_mesh_type * const meshtype,
00133                   char * const description,  char * const dtunit,
00134                   med_sorting_type * const sortingtype,
00135                   med_int * const nstep,  med_axis_type * const axistype,  char * const axisname,
00136                   char * const axisunit);
00137 
00138 MEDC_EXPORT med_err
00139 MEDmeshInfo(const med_idt            fid,
00140             const int                meshit,
00141             char   *           const meshname,
00142             med_int *          const spacedim,
00143             med_int *          const meshdim,
00144             med_mesh_type *    const meshtype,
00145             char *             const description,
00146             char *             const dtunit,
00147             med_sorting_type * const sortingtype,
00148             med_int *          const nstep,
00149             med_axis_type *    const axistype,
00150             char *             const axisname,
00151             char *             const axisunit);
00152 
00153 MEDC_EXPORT med_int
00154 MEDnMesh(const med_idt fid);
00155 
00156 MEDC_EXPORT med_int
00157 MEDmeshnAxis(const med_idt fid, const int meshit);
00158 
00159 MEDC_EXPORT med_int
00160 MEDmeshnAxisByName(const med_idt fid, const char * const meshname);
00161 
00162 MEDC_EXPORT med_err
00163 MEDmeshGridTypeWr(const med_idt fid,const char * const meshname, const med_grid_type gridtype);
00164 
00165 MEDC_EXPORT med_err
00166 MEDmeshGridTypeRd(const med_idt fid,const char * const meshname, med_grid_type * const gridtype);
00167 
00168 MEDC_EXPORT med_err
00169 MEDmeshGridIndexCoordinateWr(const med_idt               fid,
00170                              const char*  const          meshname,
00171                              const med_int               numdt,
00172                              const med_int               numit,
00173                              const med_float             dt,
00174                              const med_int               axis,
00175                              const med_int               indexsize,
00176                              const med_float * const     gridindex);
00177 MEDC_EXPORT med_err
00178 MEDmeshGridIndexCoordinateRd(const med_idt               fid,
00179                              const char*  const          meshname,
00180                              const med_int               numdt,
00181                              const med_int               numit,
00182                              const med_int               axis,
00183                              med_float * const     gridindex);
00184 
00185 MEDC_EXPORT med_err
00186 MEDmeshGridStructWr(const med_idt               fid,
00187                     const char*  const          meshname,
00188                     const med_int               numdt,
00189                     const med_int               numit,
00190                     const med_float             dt,
00191                     const med_int * const       gridstruct);
00192 
00193 MEDC_EXPORT med_err
00194 MEDmeshGridStructRd(const med_idt               fid,
00195                     const char*  const          meshname,
00196                     const med_int               numdt,
00197                     const med_int               numit,
00198                     med_int * const       gridstruct);
00199 
00200 MEDC_EXPORT med_err
00201 MEDmeshUniversalNameWr(const med_idt fid, const char * const meshname);
00202 
00203 MEDC_EXPORT med_err
00204 MEDmeshUniversalNameRd(const med_idt fid, const char * const meshname,char * const univname);
00205 
00206 MEDC_EXPORT med_err
00207 MEDmeshComputationStepCr(const med_idt fid,const char * const meshname,
00208                          const med_int numdt1, const med_int numit1,
00209                          const med_int numdt2, const med_int numit2,
00210                          const med_float dt2 );
00211 
00212 MEDC_EXPORT med_err
00213 MEDmeshAttributeRd(const med_idt fid, const char * const meshname,
00214                    med_int *isolatednodes, med_int *verticesnodes, med_int *cellmaxnodes);
00215 MEDC_EXPORT med_err
00216 MEDmeshAttributeWr(const med_idt fid, const char * const meshname,
00217                    const med_int isolatednodes,const med_int verticesnodes,const med_int cellmaxnodes);
00218 
00219 MEDC_EXPORT med_err
00220 MEDmeshComputationStepDtRd(const med_idt fid,const char * const meshname,
00221                            const med_int numdt, const med_int umit, med_float * dt );
00222 
00223 MEDC_EXPORT med_err
00224 MEDmeshComputationStepInfo(const med_idt fid,
00225                            const char * const meshname,
00226                            const int csit,
00227                            med_int *numdt,
00228                            med_int *numit,
00229                            med_float * dt );
00230 
00231 MEDC_EXPORT med_err
00232 MEDmeshSortingTypeRd(const med_idt               fid,
00233                      const char*  const          meshname,
00234                      med_sorting_type * const    sortingtype );
00235 
00236 /*interne*/
00237 MEDC_EXPORT med_err
00238 _MEDmeshAdvancedWr(const med_idt               fid,
00239                    const char*  const          meshname,
00240                    const med_data_type         meddatatype,
00241                    const char*  const          datasetname,
00242                    const med_internal_type     datatype,
00243                    const med_int               numdt,
00244                    const med_int               numit,
00245                    const med_float             dt,
00246                    const med_entity_type       entitype,
00247                    const med_geometry_type     geotype,
00248                    const med_connectivity_mode cmode,
00249                    const med_storage_mode      storagemode,
00250                    const char * const          profilename,
00251                    const med_switch_mode       switchmode,
00252                    const med_int               dimselect,
00253                    const med_filter * const    filter,
00254                    const med_int               nentity,
00255                    const void * const          value);
00256 /*fin interne */
00257 
00258 MEDC_EXPORT med_err
00259 MEDmeshNodeCoordinateAdvancedWr(const med_idt               fid,
00260                                 const char*  const          meshname,
00261                                 const med_int               numdt,
00262                                 const med_int               numit,
00263                                 const med_float             dt,
00264                                 const med_filter * const    filter,
00265                                 const med_float* const  value);
00266 MEDC_EXPORT med_err
00267 MEDmeshNodeCoordinateWithProfileWr(const med_idt               fid,
00268                                    const char*  const          meshname,
00269                                    const med_int               numdt,
00270                                    const med_int               numit,
00271                                    const med_float             dt,
00272                                    const med_storage_mode      storagemode,
00273                                    const char * const          profilename,
00274                                    const med_switch_mode       switchmode,
00275                                    const med_int               dimselect,
00276                                    const med_int               nentity,
00277                                    const med_float* const      coordinates);
00278 MEDC_EXPORT med_err
00279 MEDmeshNodeCoordinateWr(const med_idt               fid,
00280                                    const char*  const          meshname,
00281                                    const med_int               numdt,
00282                                    const med_int               numit,
00283                                    const med_float             dt,
00284                                    const med_switch_mode       switchmode,
00285                                    const med_int               nentity,
00286                                    const med_float* const  coordinates);
00287 
00288 MEDC_EXPORT med_err
00289 MEDmeshNodeCoordinateTrsfWr(const med_idt               fid,
00290                             const char*  const          meshname,
00291                             const med_int               numdt,
00292                             const med_int               numit,
00293                             const med_float             dt,
00294                             const med_float* const      coordinatetrsf);
00295 MEDC_EXPORT med_err
00296 MEDmeshNodeCoordinateTrsfRd(const med_idt               fid,
00297                                     const char*  const          meshname,
00298                                     const med_int               numdt,
00299                                     const med_int               numit,
00300                                     const med_float* const      coordinatetrsf);
00301 MEDC_EXPORT med_err
00302 MEDmeshElementConnectivityWr(const med_idt               fid,
00303                              const char*  const          meshname,
00304                              const med_int               numdt,
00305                              const med_int               numit,
00306                              const med_float             dt,
00307                              const med_entity_type       entitype,
00308                              const med_geometry_type     geotype,
00309                              const med_connectivity_mode cmode,
00310                              const med_switch_mode       switchmode,
00311                              const med_int               nentity,
00312                              const med_int* const  connectivity);
00313 
00314 MEDC_EXPORT med_err
00315 MEDmeshElementConnectivityAdvancedWr(const med_idt               fid,
00316                                      const char*  const          meshname,
00317                                      const med_int               numdt,
00318                                      const med_int               numit,
00319                                      const med_float             dt,
00320                                      const med_entity_type       entitype,
00321                                      const med_geometry_type     geotype,
00322                                      const med_connectivity_mode cmode,
00323                                      const med_filter * const    filter,
00324                                      const med_int* const  connectivity);
00325 MEDC_EXPORT med_err
00326 MEDmeshElementConnectivityWithProfileWr(const med_idt               fid,
00327                                         const char*  const          meshname,
00328                                         const med_int               numdt,
00329                                         const med_int               numit,
00330                                         const med_float             dt,
00331                                         const med_entity_type       entitype,
00332                                         const med_geometry_type     geotype,
00333                                         const med_connectivity_mode cmode,
00334                                         const med_storage_mode      storagemode,
00335                                         const char * const          profilename,
00336                                         const med_switch_mode       switchmode,
00337                                         const med_int               dimselect,
00338                                         const med_int               nentity,
00339                                         const med_int* const  connectivity);
00340 /*routine interne*/
00341 MEDC_EXPORT med_err
00342 _MEDmeshAdvancedRd(const med_idt               fid,
00343                    const char*  const          meshname,
00344                    const med_data_type         meddatatype,
00345                    const char*  const          datasetname,
00346                    const med_internal_type     datatype,
00347                    const med_int               numdt,
00348                    const med_int               numit,
00349                    const med_entity_type       entitype,
00350                    const med_geometry_type     geotype,
00351                    const med_connectivity_mode cmode,
00352                    const med_storage_mode      storagemode,
00353                    const char * const          profilename,
00354                    const med_switch_mode       switchmode,
00355                    const med_int               dimselect,
00356                    const med_filter * const    filter,
00357                    unsigned char* const  value);
00358 
00359 MEDC_EXPORT med_err
00360 MEDmeshNodeCoordinateAdvancedRd(const med_idt               fid,
00361                                 const char*  const          meshname,
00362                                 const med_int               numdt,
00363                                 const med_int               numit,
00364                                 const med_filter * const    filter,
00365                                 med_float* const  value);
00366 MEDC_EXPORT med_err
00367 MEDmeshNodeCoordinateWithProfileRd(const med_idt               fid,
00368                                    const char*  const          meshname,
00369                                    const med_int               numdt,
00370                                    const med_int               numit,
00371                                    const med_storage_mode      storagemode,
00372                                    const char * const          profilename,
00373                                    const med_switch_mode       switchmode,
00374                                    const med_int               dimselect,
00375                                    med_float* const  coordinates);
00376 MEDC_EXPORT med_err
00377 MEDmeshNodeCoordinateRd(const med_idt               fid,
00378                         const char*  const          meshname,
00379                         const med_int               numdt,
00380                         const med_int               numit,
00381                         const med_switch_mode       switchmode,
00382                         med_float* const  coordinates);
00383 
00384 MEDC_EXPORT med_err
00385 MEDmeshElementConnectivityRd(const med_idt               fid,
00386                              const char*  const          meshname,
00387                              const med_int               numdt,
00388                              const med_int               numit,
00389                              const med_entity_type       entitype,
00390                              const med_geometry_type     geotype,
00391                              const med_connectivity_mode cmode,
00392                              const med_switch_mode       switchmode,
00393                              med_int* const  connectivity);
00394 MEDC_EXPORT med_err
00395 MEDmeshElementConnectivityAdvancedRd(const med_idt               fid,
00396                                      const char*  const          meshname,
00397                                      const med_int               numdt,
00398                                      const med_int               numit,
00399                                      const med_entity_type       entitype,
00400                                      const med_geometry_type     geotype,
00401                                      const med_connectivity_mode cmode,
00402                                      const med_filter * const    filter,
00403                                      med_int* const  connectivity);
00404 MEDC_EXPORT med_err
00405 MEDmeshElementConnectivityWithProfileRd(const med_idt               fid,
00406                                         const char*  const          meshname,
00407                                         const med_int               numdt,
00408                                         const med_int               numit,
00409                                         const med_entity_type       entitype,
00410                                         const med_geometry_type     geotype,
00411                                         const med_connectivity_mode cmode,
00412                                         const med_storage_mode      storagemode,
00413                                         const char * const          profilename,
00414                                         const med_switch_mode       switchmode,
00415                                         const med_int               dimselect,
00416                                         const med_int               nentity,
00417                                         med_int* const  connectivity);
00418 /*Routine interne*/
00419 MEDC_EXPORT med_int
00420 _MEDmeshnEntity(const med_idt fid,
00421                 const char * const meshname,
00422                 const med_int numdt,
00423                 const med_int numit,
00424                 const med_entity_type entitype,
00425                 const med_geometry_type geotype,
00426                 const med_data_type datatype,
00427                 const med_connectivity_mode cmode,
00428                 const med_storage_mode storagemode,
00429                 char     * const profilename,
00430                 med_int  * const profilesize,
00431                 med_bool * const changement,
00432                 med_bool * const transformation );
00433 
00434 /*Cr~er une version sans aucun param~tre concernant les s~quences de calcul*/
00435 MEDC_EXPORT med_int
00436 MEDmeshnEntity(const med_idt fid,
00437                const char * const meshname,
00438                const med_int numdt,
00439                const med_int numit,
00440                const med_entity_type entitype,
00441                const med_geometry_type geotype,
00442                const med_data_type datatype,
00443                const med_connectivity_mode cmode,
00444                med_bool * const changement,
00445                med_bool * const transformation );
00446 
00447 MEDC_EXPORT med_int
00448 MEDmeshnEntityWithProfile(const med_idt fid,
00449                           const char * const meshname,
00450                           const med_int numdt,
00451                           const med_int numit,
00452                           const med_entity_type entitype,
00453                           const med_geometry_type geotype,
00454                           const med_data_type datatype,
00455                           const med_connectivity_mode cmode,
00456                           const med_storage_mode storagemode,
00457                           char * const profilename,
00458                           med_int * const profilesize,
00459                           med_bool * const changement,
00460                           med_bool * const transformation );
00461 
00462 MEDC_EXPORT med_err
00463 MEDmeshEntityInfo(const med_idt                   fid,
00464                   const char *              const meshname,
00465                   const med_int                   numdt,
00466                   const med_int                   numit,
00467                   const med_entity_type           entitype,
00468                   const int                       geotypeit,
00469                   char              *       const geotypename,
00470                         med_geometry_type * const geotype
00471                   );
00472 
00473 MEDC_EXPORT med_err
00474 MEDmeshEntityNameWr(const med_idt               fid,
00475                     const char*  const          meshname,
00476                     const med_int               numdt,
00477                     const med_int               numit,
00478                     const med_entity_type       entitype,
00479                     const med_geometry_type     geotype,
00480                     const med_int               nentity,
00481                     const char* const           value);
00482 
00483 MEDC_EXPORT med_err
00484 MEDmeshEntityNameRd(const med_idt              fid,
00485                     const char*  const         meshname,
00486                     const med_int              numdt,
00487                     const med_int              numit,
00488                     const med_entity_type      entitype,
00489                     const med_geometry_type    geotype,
00490                     char* const                name);
00491 
00492 MEDC_EXPORT med_err
00493 MEDmeshEntityNumberWr(const med_idt               fid,
00494                       const char*  const          meshname,
00495                       const med_int               numdt,
00496                       const med_int               numit,
00497                       const med_entity_type       entitype,
00498                       const med_geometry_type     geotype,
00499                       const med_int               nentity,
00500                       const med_int * const       value);
00501 
00502 MEDC_EXPORT med_err
00503 MEDmeshEntityNumberRd(const med_idt               fid,
00504                       const char*  const          meshname,
00505                       const med_int               numdt,
00506                       const med_int               numit,
00507                       const med_entity_type       entitype,
00508                       const med_geometry_type     geotype,
00509                       med_int * const             number);
00510 
00511 MEDC_EXPORT med_err
00512 MEDmeshEntityFamilyNumberWr(const med_idt               fid,
00513                             const char*  const          meshname,
00514                             const med_int               numdt,
00515                             const med_int               numit,
00516                             const med_entity_type       entitype,
00517                             const med_geometry_type     geotype,
00518                             const med_int               nentity,
00519                             const med_int * const       value);
00520 MEDC_EXPORT med_err
00521 MEDmeshEntityFamilyNumberRd(const med_idt               fid,
00522                             const char*  const          meshname,
00523                             const med_int               numdt,
00524                             const med_int               numit,
00525                             const med_entity_type       entitype,
00526                             const med_geometry_type     geotype,
00527                             med_int * const             number);
00528 
00529 MEDC_EXPORT med_err
00530 MEDmeshEntityAttributeAdvancedRd(const med_idt               fid,
00531                                  const char*  const          meshname,
00532                                  const med_data_type         datatype,
00533                                  const med_int               numdt,
00534                                  const med_int               numit,
00535                                  const med_entity_type       entitype,
00536                                  const med_geometry_type     geotype,
00537                                  const med_filter * const    filter,
00538                                  void * const                attval);
00539 
00540 MEDC_EXPORT med_err
00541 MEDmeshEntityAttributeAdvancedWr(const med_idt               fid,
00542                                  const char*  const          meshname,
00543                                  const med_data_type         datatype,
00544                                  const med_int               numdt,
00545                                  const med_int               numit,
00546                                  const med_entity_type       entitype,
00547                                  const med_geometry_type     geotype,
00548                                  const med_filter * const    filter,
00549                                  const void * const          attval);
00550 
00551 MEDC_EXPORT med_err
00552 MEDmeshPolygonWr(const med_idt               fid,
00553                  const char*  const          meshname,
00554                  const med_int               numdt,
00555                  const med_int               numit,
00556                  const med_float             dt,
00557                  const med_entity_type       entitype,
00558                  const med_connectivity_mode cmode,
00559                  const med_int               indexsize,
00560                  const med_int * const       polyindex,
00561                  const med_int * const       connectivity );
00562 
00563 MEDC_EXPORT med_err
00564 MEDmeshPolygonRd(const med_idt               fid,
00565                  const char*  const          meshname,
00566                  const med_int               numdt,
00567                  const med_int               numit,
00568                  const med_entity_type       entitype,
00569                  const med_connectivity_mode cmode,
00570                  med_int * const             polyindex,
00571                  med_int * const             connectivity );
00572 
00573 MEDC_EXPORT med_err
00574 MEDmeshPolyhedronRd(const med_idt               fid,
00575                     const char*  const          meshname,
00576                     const med_int               numdt,
00577                     const med_int               numit,
00578                     const med_entity_type       entitype,
00579                     const med_connectivity_mode cmode,
00580                     med_int * const             faceindex,
00581                     med_int * const             nodeindex,
00582                     med_int * const             connectivity );
00583 
00584 MEDC_EXPORT med_err
00585 MEDmeshPolyhedronWr(const med_idt               fid,
00586                     const char*  const          meshname,
00587                     const med_int               numdt,
00588                     const med_int               numit,
00589                     const med_float             dt,
00590                     const med_entity_type       entitype,
00591                     const med_connectivity_mode cmode,
00592                     const med_int               faceindexsize,
00593                     const med_int * const       faceindex,
00594                     const med_int               nodeindexsize,
00595                     const med_int * const       nodeindex,
00596                     const med_int * const       connectivity );
00597 
00598 MEDC_EXPORT med_err
00599 MEDmeshGeotypeName(const med_idt                 fid,
00600                    const med_geometry_type       geotype,
00601                    char *                  const geotypename);
00602 MEDC_EXPORT med_err
00603 MEDmeshGeotypeParameter(const med_idt                 fid,
00604                         const med_geometry_type       geotype,
00605                         med_int *               const geodim,
00606                         med_int *               const nnodes);
00607 
00608 /*FIELD*/
00609 MEDC_EXPORT med_err
00610 MEDfieldCr( const med_idt fid,
00611             const char * const fieldname,
00612             const med_field_type fieldtype,
00613             const med_int ncomponent,
00614             const char * const componentname,
00615             const char * const componentunit,
00616             const char * const dtunit,
00617             const char * const meshname);
00618 
00619 MEDC_EXPORT med_err
00620 MEDfieldValueAdvancedWr(const med_idt              fid,
00621                         const char* const          fieldname,
00622                         const med_int              numdt,
00623                         const med_int              numit,
00624                         const med_float            dt,
00625                         const med_entity_type      entitype,
00626                         const med_geometry_type    geotype,
00627                         const char * const         localizationname,
00628                         const med_filter* const    filter,
00629                         const unsigned char* const value);
00630 
00631 MEDC_EXPORT med_err
00632 MEDfieldValueWithProfileWr(const med_idt              fid,
00633                            const char*  const         fieldname,
00634                            const med_int              numdt,
00635                            const med_int              numit,
00636                            const med_float            dt,
00637                            const med_entity_type      entitype,
00638                            const med_geometry_type    geotype,
00639                            const med_storage_mode     storagemode,
00640                            const char * const         profilename,
00641                            const char * const         localizationname,
00642                            const med_switch_mode      switchmode,
00643                            const med_int              componentselect,
00644                            const med_int              nentity,
00645                            const unsigned char* const value);
00646 
00647 MEDC_EXPORT med_err
00648 MEDfieldValueWr(const med_idt              fid,
00649                 const char*  const         fieldname,
00650                 const med_int              numdt,
00651                 const med_int              numit,
00652                 const med_float            dt,
00653                 const med_entity_type      entitype,
00654                 const med_geometry_type    geotype,
00655                 const med_switch_mode      switchmode,
00656                 const med_int              componentselect,
00657                 const med_int              nentity,
00658                 const unsigned char* const value);
00659 
00660 MEDC_EXPORT med_err
00661 MEDfieldValueAdvancedRd(const med_idt              fid,
00662                         const char*  const         fieldname,
00663                         const med_int              numdt,
00664                         const med_int              numit,
00665                         const med_entity_type      entitype,
00666                         const med_geometry_type    geotype,
00667                         const med_filter* const    filter,
00668                         unsigned char* const value);
00669 MEDC_EXPORT med_err
00670 MEDfieldValueWithProfileRd(const med_idt              fid,
00671                            const char*  const         fieldname,
00672                            const med_int              numdt,
00673                            const med_int              numit,
00674                            const med_entity_type      entitype,
00675                            const med_geometry_type    geotype,
00676                            const med_storage_mode     storagemode,
00677                            const char * const         profilename,
00678                            const med_switch_mode      switchmode,
00679                            const med_int              componentselect,
00680                            unsigned char* const value);
00681 
00682 MEDC_EXPORT med_err
00683 MEDfield23ValueWithProfileRd(const med_idt              fid,
00684                              const char*  const         fieldname,
00685                              const med_int              numdt,
00686                              const med_int              numit,
00687                              const med_entity_type      entitype,
00688                              const med_geometry_type    geotype,
00689                              const char*  const         meshname,
00690                              const med_storage_mode     storagemode,
00691                              const char * const         profilename,
00692                              const med_switch_mode      switchmode,
00693                              const med_int              componentselect,
00694                              unsigned char* const value);
00695 MEDC_EXPORT med_err
00696 MEDfieldValueRd(const med_idt              fid,
00697                 const char*  const         fieldname,
00698                 const med_int              numdt,
00699                 const med_int              numit,
00700                 const med_entity_type      entitype,
00701                 const med_geometry_type    geotype,
00702                 const med_switch_mode      switchmode,
00703                 const med_int              componentselect,
00704                 unsigned char* const value);
00705 
00706 MEDC_EXPORT med_int
00707 MEDfieldnComponentByName(const med_idt fid, const char * const fieldname);
00708 
00709 MEDC_EXPORT med_int
00710 MEDfieldnComponent(const med_idt fid, const int ind);
00711 
00712 MEDC_EXPORT med_int
00713 MEDnField(const med_idt fid);
00714 
00715 MEDC_EXPORT med_err
00716 MEDfieldInfo(const med_idt fid,const int ind, char * const fieldname,
00717              char * const meshname, med_bool * const localmesh,
00718              med_field_type * const fieldtype, char * const componentname,
00719              char * const componentunit, char * const dtunit, med_int * const ncstp);
00720 
00721 MEDC_EXPORT med_err
00722 MEDfieldComputingStepInfo(const med_idt fid,
00723                           const char * const fieldname,
00724                           const int csit,
00725                           med_int * const numdt,
00726                           med_int * const numit,
00727                           med_float * const dt);
00728 
00729 MEDC_EXPORT med_err
00730 MEDfieldComputingStepMeshInfo(const med_idt fid,
00731                               const char * const fieldname,
00732                               const int csit,
00733                               med_int * const numdt,
00734                               med_int * const numit,
00735                               med_float * const dt,
00736                               med_int * const meshnumdt,
00737                               med_int * const meshnumit);
00738 
00739 MEDC_EXPORT med_err
00740 MEDfield23ComputingStepMeshInfo(const med_idt         fid,
00741                                 const char *    const fieldname,
00742                                 const int             csit,
00743                                 med_int *       const numdt,
00744                                 med_int *       const numit,
00745                                 med_float *     const dt,
00746                                 med_int *       const nmesh,
00747                                 char    *       const meshname,
00748                                 med_bool*       const localmesh,
00749                                 med_int *       const meshnumdt,
00750                                 med_int *       const meshnumit);
00751 
00752 MEDC_EXPORT med_err
00753 MEDfieldComputingStepMeshWr(const med_idt fid,
00754                             const char * const fieldname,
00755                             med_int numdt,
00756                             med_int numit,
00757                             med_int meshnumdt,
00758                             med_int meshnumit);
00759 
00760 MEDC_EXPORT med_err
00761 _MEDfieldComputingStepCheck236(med_idt fid,
00762                                const char * const fieldname,
00763                                med_size * const ncpst,
00764                                med_bool checkmultiplemesh, med_bool * const multiplemesh,
00765                                med_bool checkmeshname, med_bool * const samedefaultmeshname);
00766 
00767 MEDC_EXPORT med_err
00768 MEDfieldInfoByName(const med_idt fid,const char * const fieldname,
00769                    char * const meshname, med_bool * const localmesh,
00770                    med_field_type * const fieldtype, char * const componentname,
00771                    char * const componentunit, char * const dtunit, med_int * const ncstp);
00772 /*routine interne*/
00773 MEDC_EXPORT med_int
00774 _MEDfieldnValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00775                 const med_entity_type entitype, const med_geometry_type geotype,
00776                 char * const profilename, const  int profileit,
00777                 const med_storage_mode storagemode,med_int * const profilesize,
00778                 char * const localizationname, med_int * const nintegrationpoint);
00779 
00780 MEDC_EXPORT med_int
00781 _MEDfield23nValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00782                 const med_entity_type entitype, const med_geometry_type geotype, const char * const meshname,
00783                 char * const profilename, const  int profileit,
00784                 const med_storage_mode storagemode,med_int * const profilesize,
00785                 char * const localizationname, med_int * const nintegrationpoint);
00786 
00787 
00788 MEDC_EXPORT med_int
00789 MEDfieldnValueWithProfileByName(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00790                                 const med_entity_type entitype, const med_geometry_type geotype, const char * const profilename,
00791                                 const med_storage_mode storagemode,med_int * const profilesize,
00792                                 char * const localizationname, med_int * const nintegrationpoint);
00793 
00794 MEDC_EXPORT med_int
00795 MEDfieldnValueWithProfile(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00796                           const med_entity_type entitype, const med_geometry_type geotype,
00797                           const int profileit,
00798                           const med_storage_mode storagemode,char * const profilename ,med_int * const profilesize,
00799                           char * const localizationname, med_int * const nintegrationpoint);
00800 
00801 MEDC_EXPORT med_int
00802 MEDfieldnValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00803                const med_entity_type entitype, const med_geometry_type geotype);
00804 
00805 MEDC_EXPORT med_int
00806 MEDfield23nValueWithProfile(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00807                             const med_entity_type entitype, const med_geometry_type geotype,const char * const meshname,
00808                             const int profileit,
00809                             const med_storage_mode storagemode,char * const profilename ,med_int * const profilesize,
00810                             char * const localizationname, med_int * const nintegrationpoint);
00811 
00812 MEDC_EXPORT med_int
00813 MEDfieldnProfile(const med_idt fid,const char * const fieldname,
00814                  const med_int numdt, const med_int numit,
00815                  const med_entity_type enttype, const med_geometry_type geotype,
00816                  char * const defaultprofilename, char * const defaultlocalizationname);
00817 
00818 MEDC_EXPORT med_int
00819 MEDfield23nProfile(const med_idt fid,
00820                    const char * const fieldname,
00821                    const med_int numdt,
00822                    const med_int numit,
00823                    const med_entity_type   entitype,
00824                    const med_geometry_type geotype,
00825                    const int    meshit,
00826                    char * const meshname,
00827                    char * const defaultprofilename,
00828                    char * const defaultlocalizationname);
00829 
00830 
00831 MEDC_EXPORT med_err
00832 MEDfieldInterpWr(const med_int fid,
00833                  const char* const fieldname,
00834                  const char* interpname);
00835 
00836 MEDC_EXPORT med_int
00837 MEDfieldnInterp(
00838                 const med_int fid,
00839                 const char* const fieldname);
00840 
00841 
00842 MEDC_EXPORT med_err
00843 MEDfieldInterpInfo(
00844                    const med_int       fid,
00845                    const char*   const fieldname,
00846                          int           interpit,
00847                          char*   const interpname
00848                    );
00849 
00850 
00851 /* Family  */
00852 MEDC_EXPORT med_err
00853 MEDfamilyCr(const med_idt      fid,
00854             const char * const meshname,
00855             const char * const familyname,
00856             const med_int      familynumber,
00857             const med_int      ngroup,
00858             const char * const groupname);
00859 
00860 MEDC_EXPORT med_int
00861 MEDnFamily(const med_idt      fid,
00862            const char * const meshname);
00863 
00864 MEDC_EXPORT med_int
00865 MEDnFamilyGroup(const med_idt      fid,
00866                 const char * const meshname,
00867                 const int          famit);
00868 
00869 MEDC_EXPORT med_err
00870 MEDfamilyInfo(const med_idt  fid,
00871               const char *   meshname,
00872               const int      famit,
00873               char * const   familyname,
00874               med_int *const familynumber,
00875               char *const    groupname);
00876 
00877 MEDC_EXPORT med_int
00878 MEDnFamily23Attribute(const med_idt      fid,
00879                       const char * const meshname,
00880                       const int          famit);
00881 
00882 MEDC_EXPORT med_err
00883 MEDfamily23Info( const med_idt       fid,
00884                  const char*   const meshname,
00885                  const int           famit,
00886                  char*         const familyname,
00887                  med_int*      const attributenumber,
00888                  med_int*      const attributevalue,
00889                  char*         const attributedes,
00890                  med_int*      const familynumber,
00891                  char*         const groupname);
00892 
00893 /* Equivalence    */
00894 
00895 MEDC_EXPORT med_err
00896 MEDequivalenceCr(const med_idt      fid,
00897                  const char * const meshname,
00898                  const char * const equivname,
00899                  const char * const description);
00900 
00901 MEDC_EXPORT med_err
00902 MEDequivalenceCorrespondenceWr(const med_idt            fid,
00903                                const char * const       meshname,
00904                                const char * const       equivname,
00905                                const med_int            numdt,
00906                                const med_int            numit,
00907                                const med_entity_type    entitype,
00908                                const med_geometry_type  geotype,
00909                                const med_int            nentity,
00910                                const med_int * const    correspondence);
00911 
00912 MEDC_EXPORT med_err
00913 MEDequivalenceCorrespondenceRd(const med_idt            fid,
00914                                const char * const       meshname,
00915                                const char * const       equivname,
00916                                const med_int            numdt,
00917                                const med_int            numit,
00918                                const med_entity_type    entitype,
00919                                const med_geometry_type  geotype,
00920                                med_int * const          correspondence);
00921 
00922 MEDC_EXPORT med_int
00923 MEDnEquivalence(const med_idt      fid,
00924                 const char * const meshname);
00925 
00926 MEDC_EXPORT med_err
00927 MEDequivalenceInfo(const med_idt      fid,
00928                    const char * const meshname,
00929                    const int          equivit,
00930                    char * const       equivname,
00931                    char * const       equivdescription,
00932                    med_int * const    nstep,
00933                    med_int * const    nocstpncorrespondence);
00934 
00935 MEDC_EXPORT med_err
00936 MEDequivalenceComputingStepInfo(const med_idt      fid,
00937                                 const char * const meshname,
00938                                 const char * const equivname,
00939                                 const int          csit,
00940                                 med_int * const    numdt,
00941                                 med_int * const    numit,
00942                                 med_int * const    ncorrespondence );
00943 
00944 
00945 MEDC_EXPORT med_err
00946 MEDequivalenceCorrespondenceSizeInfo(const med_idt              fid,
00947                                      const char * const         meshname,
00948                                      const char * const         equivname,
00949                                      const med_int              numdt,
00950                                      const med_int              numit,
00951                                      const int                  corit,
00952                                      med_entity_type * const    entitype,
00953                                      med_geometry_type* const   geotype,
00954                                      med_int * const            nentity );
00955 
00956 /*Uses case equivalencename from Mesh element iteration*/
00957 /* MEDC_EXPORT med_err */
00958 /* MEDequivalenceInfoByName(const med_idt      fid, */
00959 /*                       const char * const meshname, */
00960 /*                       const char * const equivname, */
00961 /*                       char * const       equivdescription, */
00962 /*                       med_int * const    nstep, */
00963 /*                       med_int * const    nocstpncorrespondence); */
00964 
00965 MEDC_EXPORT med_err
00966 MEDequivalenceCorrespondenceSize(const med_idt             fid,
00967                                  const char * const        meshname,
00968                                  const char * const        equivname,
00969                                  const med_int             numdt,
00970                                  const med_int             numit,
00971                                  const med_entity_type     entitype,
00972                                  const med_geometry_type   geotype,
00973                                  med_int * const           nentity );
00974 
00975 
00976 
00977 /* MEDC_EXPORT med_err */
00978 /* MEDmeshEquivalenceInfo(const med_idt            fid, */
00979 /*                     const char * const       meshname, */
00980 /*                     const med_int            numdt, */
00981 /*                     const med_int            numit, */
00982 /*                     const med_entity_type    entitype, */
00983 /*                     const med_geometry_type  geotype, */
00984 /*                     char * const             equivname ); */
00985 
00986 /* Joints */
00987 
00988 MEDC_EXPORT med_err
00989 MEDsubdomainJointCr(const med_idt      fid,
00990                     const char * const localmeshname,
00991                     const char * const jointname,
00992                     const char * const description,
00993                     const med_int      domainnumber,
00994                     const char * const remotemeshname);
00995 
00996 MEDC_EXPORT med_err
00997 MEDsubdomainCorrespondenceWr(const med_idt            fid,
00998                              const char * const       meshname,
00999                              const char * const       jointname,
01000                              const med_int            numdt,
01001                              const med_int            numit,
01002                              const med_entity_type    localentitytype,
01003                              const med_geometry_type  localgeotype,
01004                              const med_entity_type    remoteentitytype,
01005                              const med_geometry_type  remotegeotype,
01006                              const med_int            nentity,
01007                              const med_int * const    correspondence);
01008 
01009 MEDC_EXPORT med_int
01010 MEDnSubdomainJoint(const med_idt      fid,
01011                    const char * const meshname);
01012 
01013 MEDC_EXPORT med_err
01014 MEDsubdomainJointInfo(const med_idt      fid,
01015                       const char * const meshname,
01016                       const int          jointit,
01017                       char * const       jointname,
01018                       char * const       description,
01019                       med_int * const    domainnumber,
01020                       char * const       remotemeshname,
01021                       med_int * const    nstep,
01022                       med_int * const    nocstpncorrespondence);
01023 
01024 MEDC_EXPORT med_err
01025 MEDsubdomainComputingStepInfo(const med_idt      fid,
01026                               const char * const meshname,
01027                               const char * const jointname,
01028                               const int          csit,
01029                               med_int * const    numdt,
01030                               med_int * const    numit,
01031                               med_int * const    ncorrespondence );
01032 
01033 MEDC_EXPORT med_err
01034 MEDsubdomainCorrespondenceSizeInfo(const med_idt              fid,
01035                                    const char * const         meshname,
01036                                    const char * const         jointname,
01037                                    const med_int              numdt,
01038                                    const med_int              numit,
01039                                    const int                  corit,
01040                                    med_entity_type   * const  localentitytype,
01041                                    med_geometry_type * const  localgeotype,
01042                                    med_entity_type   * const  remoteentitytype,
01043                                    med_geometry_type * const  remotegeotype,
01044                                    med_int * const            nentity );
01045 
01046 MEDC_EXPORT med_err
01047 MEDsubdomainCorrespondenceSize(const med_idt              fid,
01048                                const char * const         meshname,
01049                                const char * const         jointname,
01050                                const med_int              numdt,
01051                                const med_int              numit,
01052                                const med_entity_type      localentitytype,
01053                                const med_geometry_type    localgeotype,
01054                                const med_entity_type      remoteentitytype,
01055                                const med_geometry_type    remotegeotype,
01056                                med_int * const            nentity );
01057 MEDC_EXPORT med_err
01058 MEDsubdomainCorrespondenceRd(const med_idt            fid,
01059                              const char * const       meshname,
01060                              const char * const       jointname,
01061                              const med_int            numdt,
01062                              const med_int            numit,
01063                              const med_entity_type    localentitytype,
01064                              const med_geometry_type  localgeotype,
01065                              const med_entity_type    remoteentitytype,
01066                              const med_geometry_type  remotegeotype,
01067                              med_int * const          correspondence);
01068 
01069 MEDC_EXPORT
01070 med_err MEDmeshGlobalNumberWr(const med_idt               fid,
01071                               const char*  const          meshname,
01072                               const med_int               numdt,
01073                               const med_int               numit,
01074                               const med_entity_type       entitytype,
01075                               const med_geometry_type     geotype,
01076                               const med_int               nentity,
01077                               const med_int * const       number);
01078 MEDC_EXPORT
01079 med_err MEDmeshGlobalNumberRd(const med_idt               fid,
01080                               const char*  const          meshname,
01081                               const med_int               numdt,
01082                               const med_int               numit,
01083                               const med_entity_type       entitytype,
01084                               const med_geometry_type     geotype,
01085                               med_int * const             number);
01086 
01087 /* Routines de niveau intermediaire */
01088 MEDC_EXPORT
01089 med_err MEDmeshNodeWr(const med_idt                  fid,
01090                       const char            * const  meshname,
01091                       const med_int                  numdt,
01092                       const med_int                  numit,
01093                       const med_float                dt,
01094                       const med_switch_mode          switchmode,
01095                       const med_int                  nentity,
01096                       const med_float       * const  coordinate,
01097                       const med_bool                 withnodename,
01098                       const char            * const  nodename,
01099                       const med_bool                 withnodenumber,
01100                       const med_int         * const  nodenumber,
01101                       const med_bool                 withfamnumber,
01102                       const med_int         * const  famnumber);
01103 
01104 MEDC_EXPORT
01105 med_err MEDmeshNodeRd(const med_idt                  fid,
01106                       const char            * const  meshname,
01107                       const med_int                  numdt,
01108                       const med_int                  numit,
01109                       const med_switch_mode          switchmode,
01110                       med_float             * const  coordinate,
01111                       med_bool              * const  withnodename,
01112                       char                  * const  nodename,
01113                       med_bool              * const  withnodenumber,
01114                       med_int               * const  nodenumber,
01115                       med_bool              * const  withfamnumber,
01116                       med_int               * const  famnumber);
01117 
01118 MEDC_EXPORT
01119 med_err MEDmeshElementWr(const med_idt                  fid,
01120                          const char            * const  meshname,
01121                          const med_int                  numdt,
01122                          const med_int                  numit,
01123                          const med_float                dt,
01124                          const med_entity_type          entitype,
01125                          const med_geometry_type        geotype,
01126                          const med_connectivity_mode    cmode,
01127                          const med_switch_mode          switchmode,
01128                          const med_int                  nentity,
01129                          const med_int         * const  connectivity,
01130                          const med_bool                 withelementname,
01131                          const char            * const  elementname,
01132                          const med_bool                 withelementnumber,
01133                          const med_int         * const  elementnumber,
01134                          const med_bool                 withfamnumber,
01135                          const med_int         * const  famnumber);
01136 MEDC_EXPORT
01137 med_err MEDmeshElementRd(const med_idt                  fid,
01138                          const char            * const  meshname,
01139                          const med_int                  numdt,
01140                          const med_int                  numit,
01141                          const med_entity_type          entitype,
01142                          const med_geometry_type        geotype,
01143                          const med_connectivity_mode    cmode,
01144                          const med_switch_mode          switchmode,
01145                          med_int               * const  connectivity,
01146                          med_bool              * const  withelementname,
01147                          char                  * const  elementname,
01148                          med_bool              * const  withelementnumber,
01149                          med_int               * const  elementnumber,
01150                          med_bool              * const  withfamnumber,
01151                          med_int               * const  famnumber);
01152 
01153 /* Profile */
01154 MEDC_EXPORT med_int
01155 MEDnProfile(const med_idt fid );
01156 
01157 MEDC_EXPORT med_err
01158 MEDprofileInfo(const med_idt          fid,
01159                const int              profileit,
01160                char    *     const    profilename,
01161                med_int *     const    profilesize );
01162 MEDC_EXPORT med_err
01163 MEDprofileWr(const med_idt        fid,
01164              const char* const    profilename,
01165              const med_int        profilesize,
01166              const med_int* const profilearray);
01167 
01168 MEDC_EXPORT med_int
01169 MEDprofileSizeByName(const med_idt fid, const char * const profilename);
01170 
01171 MEDC_EXPORT med_err
01172 MEDprofileRd(const med_idt      fid,
01173              const char * const profilename,
01174              med_int * const    profilearray );
01175 
01176 /* Filter */
01177 
01178 MEDC_EXPORT med_err
01179 MEDfilterEntityCr(const med_idt fid,
01180                   const med_int nentity,
01181                   const med_int nvaluesperentity,
01182                   const med_int nconstituentpervalue,
01183                   const med_int constituentselect,
01184                   const med_switch_mode switchmode,
01185                   const med_storage_mode storagemode,
01186                   const char * const profilename,
01187                   const med_int filterarraysize,
01188                   const med_int *filterarray, med_filter* const filter);
01189 
01190 MEDC_EXPORT med_err
01191 MEDfilterBlockOfEntityCr(const med_idt          fid,
01192                          const med_int          nentity,
01193                          const med_int          nvaluesperentity,
01194                          const med_int          nconstituentpervalue,
01195                          const med_int          constituentselect,
01196                          const med_switch_mode  switchmode,
01197                          const med_storage_mode storagemode,
01198                          const char * const     profilename,
01199                          const med_size         start,
01200                          const med_size         stride,
01201                          const med_size         count,
01202                          const med_size         blocksize,
01203                          const med_size         lastblocksize,
01204                          med_filter*    const   filter);
01205 
01206 MEDC_EXPORT med_err
01207 MEDfilterDeAllocate(const int nfilter,
01208                     med_filter * filter);
01209 
01210 MEDC_EXPORT med_filter*
01211 MEDfilterAllocate(const int nfilter);
01212 
01213 MEDC_EXPORT med_err
01214 MEDfilterClose(  med_filter * const filter);
01215 
01216 /* Localization */
01217 MEDC_EXPORT med_err
01218 MEDlocalizationWr(const med_idt fid,
01219                   const char * const localizationname,
01220                   const med_geometry_type geotype,
01221                   const med_int spacedimension,
01222                   const med_float* const elementcoordinate,
01223                   const med_switch_mode switchmode,
01224                   const med_int nipoint,
01225                   const med_float* const ipointcoordinate,
01226                   const med_float* const weight,
01227                   const char *     const  geointerpname,
01228                   const char *     const  ipointstructmeshname);
01229 
01230 
01231 MEDC_EXPORT med_err
01232 MEDlocalizationRd(const med_idt                 fid,
01233                   const char*            const  localizationname,
01234                   const med_switch_mode         switchmode,
01235                   med_float*             const  elementcoordinate,
01236                   med_float*             const  ipointcoordinate,
01237                   med_float*             const  weight);
01238 
01239 MEDC_EXPORT med_int
01240 MEDnLocalization(const med_idt fid );
01241 
01242 MEDC_EXPORT med_err
01243 MEDlocalizationInfo(const med_idt             fid,
01244                     const int                 localizationit,
01245                     char              * const localizationname,
01246                     med_geometry_type * const geotype,
01247                     med_int           * const spacedimension,
01248                     med_int           * const nipoint,
01249                     char *              const geointerpname,
01250                     char *              const sectionmeshname,
01251                     med_int           * const nsectionmeshcell,
01252                     med_geometry_type * const sectiongeotype);
01253 
01254 MEDC_EXPORT med_err
01255 MEDlocalizationInfoByName(const med_idt             fid,
01256                           const char        * const localizationname,
01257                           med_geometry_type * const geotype,
01258                           med_int           * const spacedimension,
01259                           med_int           * const nipoint,
01260                           char *              const geointerpname,
01261                           char *              const sectionmeshname,
01262                           med_int           * const nsectionmeshcell,
01263                           med_geometry_type * const sectiongeotype);
01264 
01265 
01266 /* Link */
01267 MEDC_EXPORT med_err
01268 MEDlinkWr(const med_idt        fid,
01269           const char   * const meshname,
01270           const char   * const link);
01271 
01272 MEDC_EXPORT med_err
01273 MEDlinkRd(const med_idt     fid,
01274           const char* const meshname,
01275           char* const       link);
01276 
01277 MEDC_EXPORT med_int
01278 MEDnLink(const med_idt fid );
01279 MEDC_EXPORT med_int
01280 MEDlinkInfoByName(const med_idt             fid,
01281                   const char        * const meshname );
01282 
01283 MEDC_EXPORT med_err
01284 MEDlinkInfo(const med_idt             fid,
01285             const int                 linkit,
01286             char              * const meshname,
01287             med_int           * const linksize );
01288 
01289 /* Variables scalaires */
01290 
01291 /* Struct Elements */
01292 
01293 MEDC_EXPORT med_geometry_type
01294 MEDstructElementCr(const med_idt                 fid,
01295                    const char*             const modelname,
01296                    const med_int                 modeldim,
01297                    const char*             const supportmeshname,
01298                    const med_entity_type         sentitytype,
01299                    const med_geometry_type       sgeotype
01300                    );
01301 
01302 MEDC_EXPORT med_int
01303 MEDnStructElement(const med_idt      fid);
01304 
01305 MEDC_EXPORT med_err
01306 MEDstructElementConstAttWithProfileWr(const med_idt                  fid,
01307                                       const char*              const modelname,
01308                                       const char*              const constattname,
01309                                       const med_attribute_type       constatttype,
01310                                       const med_int                  ncomponent,
01311                                       const med_entity_type          sentitytype,
01312                                       const char*              const profilename,
01313                                       const void*              const value
01314                                       );
01315 
01316 MEDC_EXPORT med_err
01317 MEDstructElementConstAttWr(const med_idt                  fid,
01318                            const char*              const modelname,
01319                            const char*              const constattname,
01320                            const med_attribute_type       constatttype,
01321                            const med_int                  ncomponent,
01322                            const med_entity_type          sentitytype,
01323                            const void*              const value
01324                            );
01325 
01326 MEDC_EXPORT med_err
01327 MEDstructElementInfoByName(const med_idt             fid,
01328                            const char *        const modelname,
01329                            med_geometry_type * const mgeotype,
01330                            med_int*            const modeldim,
01331                            char*               const supportmeshname,
01332                            med_entity_type*    const sentitytype,
01333                            med_int*            const snnode,
01334                            med_int*            const sncell,
01335                            med_geometry_type*  const sgeotype,
01336                            med_int*            const nconstantatribute,
01337                            med_bool*           const anyprofile,
01338                            med_int*            const nvariableattribute
01339                            );
01340 
01341 MEDC_EXPORT med_err
01342 MEDstructElementInfo(const med_idt             fid,
01343                      const int                 mit,
01344                      char *              const modelname,
01345                      med_geometry_type * const mgeotype,
01346                      med_int*            const modeldim,
01347                      char*               const supportmeshname,
01348                      med_entity_type*    const sentitytype,
01349                      med_int*            const snnode,
01350                      med_int*            const sncell,
01351                      med_geometry_type*  const sgeotype,
01352                      med_int*            const nconstantattribute,
01353                      med_bool*           const anyprofile,
01354                      med_int*            const nvariableattribute
01355                      );
01356 
01357 MEDC_EXPORT med_err
01358 MEDstructElementConstAttInfoByName(const med_idt             fid,
01359                                    const char*         const modelname,
01360                                    const char*         const constattname,
01361                                    med_attribute_type* const constatttype,
01362                                    med_int*            const ncomponent,
01363                                    med_entity_type*    const sentitytype,
01364                                    char*               const profilename,
01365                                    med_int*            const profilesize
01366                                    );
01367 MEDC_EXPORT med_err
01368 MEDstructElementConstAttInfo(const med_idt             fid,
01369                              const char*         const modelname,
01370                              const int                 attit,
01371                              char*               const constattname,
01372                              med_attribute_type* const constatttype,
01373                              med_int*            const ncomponent,
01374                              med_entity_type*    const sentitytype,
01375                              char*               const profilename,
01376                              med_int*            const profilesize
01377                              );
01378 
01379 MEDC_EXPORT med_err
01380 MEDstructElementConstAttRd(const med_idt                  fid,
01381                            const char*              const modelname,
01382                            const char*              const constattname,
01383                            void*                    const value
01384                            );
01385 
01386 MEDC_EXPORT int
01387 MEDstructElementAttSizeof( med_attribute_type atttype );
01388 
01389 MEDC_EXPORT med_err
01390 MEDstructElementVarAttCr(const med_idt                  fid,
01391                          const char*              const modelname,
01392                          const char*              const varattname,
01393                          const med_attribute_type       varatttype,
01394                          const med_int                  ncomponent
01395                          );
01396 
01397 MEDC_EXPORT med_err
01398 MEDstructElementVarAttInfoByName(const med_idt                   fid,
01399                                  const char*               const modelname,
01400                                  const char*               const varattname,
01401                                        med_attribute_type* const varatttype,
01402                                        med_int*            const ncomponent
01403                                  );
01404 
01405 MEDC_EXPORT med_err
01406 MEDstructElementVarAttInfo(const med_idt                   fid,
01407                            const char*               const modelname,
01408                            const int                       attit,
01409                                  char*               const varattname,
01410                                  med_attribute_type* const varatttype,
01411                                  med_int*            const ncomponent
01412                            );
01413 
01414 MEDC_EXPORT med_err
01415 MEDmeshStructElementVarAttWr(const med_idt                  fid,
01416                              const char*              const meshname,
01417                              const med_int                  numdt,
01418                              const med_int                  numit,
01419                              const med_geometry_type        mgeotype,
01420                              const char*              const varattname,
01421                              const med_int                  nentity,
01422                              const void*              const value
01423                              );
01424 MEDC_EXPORT med_err
01425 MEDmeshStructElementVarAttRd(const med_idt                  fid,
01426                              const char*              const meshname,
01427                              const med_int                  numdt,
01428                              const med_int                  numit,
01429                              const med_geometry_type        mgeotype,
01430                              const char*              const varattname,
01431                              void*                    const value
01432                              );
01433 
01434 MEDC_EXPORT med_err
01435 MEDstructElementName(const med_idt                 fid,
01436                      const med_geometry_type       mgeotype,
01437                      char *                  const modelname);
01438 
01439 
01440 MEDC_EXPORT med_geometry_type
01441 MEDstructElementGeotype(const med_idt                 fid,
01442                         const char *            const modelname);
01443 
01444 /* Maillages support aux mod�les d'�l�ments de structure */
01445 
01446 MEDC_EXPORT med_err
01447 MEDsupportMeshCr(const med_idt       fid,
01448                  const char* const   supportmeshname,
01449                  const med_int       spacedim,
01450                  const med_int       meshdim,
01451                  const char* const   description,
01452                  const med_axis_type axistype,
01453                  const char* const   axisname,
01454                  const char* const   axisunit
01455                  );
01456 
01457 
01458 
01459 MEDC_EXPORT med_err
01460 MEDsupportMeshInfoByName(const med_idt         fid,
01461                          const char *    const supportmeshname,
01462                          med_int *       const spacedim,
01463                          med_int *       const meshdim,
01464                          char *          const description,
01465                          med_axis_type * const axistype,
01466                          char *          const axisname,
01467                          char *          const axisunit);
01468 
01469 MEDC_EXPORT med_err
01470 MEDsupportMeshInfo(const med_idt            fid,
01471                    const int                meshit,
01472                    char   *           const supportmeshname,
01473                    med_int *          const spacedim,
01474                    med_int *          const meshdim,
01475                    char *             const description,
01476                    med_axis_type *    const axistype,
01477                    char *             const axisname,
01478                    char *             const axisunit);
01479 
01480 MEDC_EXPORT med_int
01481 MEDnSupportMesh(const med_idt fid);
01482 
01483 MEDC_EXPORT med_int
01484 MEDsupportMeshnAxis(const med_idt fid, const int meshit);
01485 
01486 MEDC_EXPORT med_int
01487 MEDsupportMeshnAxisByName(const med_idt fid, const char * const meshname);
01488 
01489 
01490 MEDC_EXPORT med_idt
01491 _MEDmeshDatagroupOpen(const med_idt               fid,
01492                       const char*  const          meshname,
01493                       char *       const          usedpath,
01494                       med_bool *   const          isasupportmesh
01495                      );
01496 
01497 
01498   /* Parameter */
01499 MEDC_EXPORT med_err
01500 MEDparameterCr(const med_idt fid,
01501                const char * const paramname,
01502                const med_parameter_type paramtype,
01503                const char* const description,
01504                const char * const dtunit
01505                );
01506 
01507 MEDC_EXPORT med_int
01508 MEDnParameter(const med_idt fid);
01509 
01510 MEDC_EXPORT med_err
01511 MEDparameterInfo(const med_idt            fid,
01512                  const int                paramit,
01513                  char   *             const paramname,
01514                  med_parameter_type * const paramtype,
01515                  char *               const description,
01516                  char *               const dtunit,
01517                  med_int *            const nstep);
01518 
01519 MEDC_EXPORT med_err
01520 MEDparameterInfoByName(const med_idt        fid,
01521                        const char   *       const paramname,
01522                        med_parameter_type * const paramtype,
01523                        char *               const description,
01524                        char *               const dtunit,
01525                        med_int *            const nstep);
01526 
01527 MEDC_EXPORT med_err
01528 MEDparameterValueWr(const med_idt              fid,
01529                     const char*  const         paramname,
01530                     const med_int              numdt,
01531                     const med_int              numit,
01532                     const med_float            dt,
01533                     const unsigned char* const value);
01534 
01535 MEDC_EXPORT med_err
01536 MEDparameterValueRd(const med_idt              fid,
01537                     const char*  const         paramname,
01538                     const med_int              numdt,
01539                     const med_int              numit,
01540                     unsigned char* const value);
01541 
01542 
01543 MEDC_EXPORT med_err
01544 MEDparameterComputationStepInfo(const med_idt      fid,
01545                                 const char * const paramname,
01546                                 const int          csit,
01547                                 med_int * const    numdt,
01548                                 med_int * const    numit,
01549                                 med_float * const  dt );
01550 
01551   /* Fonctions d'interpolation */
01552 MEDC_EXPORT med_err
01553 MEDinterpCr(const med_idt                 fid,
01554             const char*             const interpname,
01555             const med_geometry_type       geotype,
01556             const med_bool                cellnodes,
01557             const med_int                 nvariable,
01558             const med_int                 maxdegree,
01559             const med_int                 nmaxcoef
01560             );
01561 
01562 MEDC_EXPORT med_err
01563 MEDinterpBaseFunctionWr( const med_idt          fid,
01564                          const char*      const interpname,
01565                          const med_int          basisfuncit,
01566                          const med_int          ncoef,
01567                          const med_int*   const power,
01568                          const med_float* const coefficient);
01569 
01570 MEDC_EXPORT med_int
01571 MEDnInterp(const med_idt fid);
01572 
01573 MEDC_EXPORT med_err
01574 MEDinterpInfo(const med_idt                 fid,
01575               const int                      interpit,
01576                     char*              const interpname,
01577                     med_geometry_type* const geotype,
01578                     med_bool*          const cellnode,
01579                     med_int*           const nbasisfunc,
01580                     med_int*           const nvariable,
01581                     med_int*           const maxdegree,
01582                     med_int*           const nmaxcoef
01583               );
01584 
01585 MEDC_EXPORT med_err
01586 MEDinterpInfoByName(const med_idt                   fid,
01587                     const char*               const interpname,
01588                            med_geometry_type*       geotype,
01589                            med_bool*          const cellnode,
01590                            med_int*           const nbasisfunc,
01591                            med_int*           const nvariable,
01592                            med_int*           const maxdegree,
01593                            med_int*           const nmaxcoef
01594                     );
01595 
01596 MEDC_EXPORT med_err
01597 MEDinterpBaseFunctionRd( const med_idt          fid,
01598                          const char*      const interpname,
01599                          const int              basisfuncit,
01600                                med_int*         ncoef,
01601                                med_int*   const power,
01602                          med_float* const coefficient);
01603 
01604 MEDC_EXPORT med_int
01605 MEDinterpBaseFunctionCoefSize( const med_idt          fid,
01606                                const char*      const interpname,
01607                                const med_int          basisfuncit);
01608 #ifdef __cplusplus
01609 }
01610 #endif
01611 
01612 #endif /* MED_PROTO_H */
01613 
01614 
01615 
01616 

Généré le Mon Nov 19 15:43:34 2012 pour MED fichier par  doxygen 1.6.1