med_proto.h

Aller à la documentation de ce fichier.
00001 /*  This file is part of MED.
00002  *
00003  *  COPYRIGHT (C) 1999 - 2011  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               nbofentity,
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               nbofentity,
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               nbofentity,
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               nbofentity,
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               nbofentity,
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               nbofentity,
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               nbofentity,
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               nbofentity,
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               nbofentity,
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 MEDmeshPolygonWr(const med_idt               fid,
00531                  const char*  const          meshname,
00532                  const med_int               numdt,
00533                  const med_int               numit,
00534                  const med_float             dt,
00535                  const med_entity_type       entitype,
00536                  const med_connectivity_mode cmode,
00537                  const med_int               indexsize,
00538                  const med_int * const       polyindex,
00539                  const med_int * const       connectivity );
00540 
00541 MEDC_EXPORT med_err
00542 MEDmeshPolygonRd(const med_idt               fid,
00543                  const char*  const          meshname,
00544                  const med_int               numdt,
00545                  const med_int               numit,
00546                  const med_entity_type       entitype,
00547                  const med_connectivity_mode cmode,
00548                  med_int * const             polyindex,
00549                  med_int * const             connectivity );
00550 
00551 MEDC_EXPORT med_err
00552 MEDmeshPolyhedronRd(const med_idt               fid,
00553                     const char*  const          meshname,
00554                     const med_int               numdt,
00555                     const med_int               numit,
00556                     const med_entity_type       entitype,
00557                     const med_connectivity_mode cmode,
00558                     med_int * const             faceindex,
00559                     med_int * const             nodeindex,
00560                     med_int * const             connectivity );
00561 
00562 MEDC_EXPORT med_err
00563 MEDmeshPolyhedronWr(const med_idt               fid,
00564                     const char*  const          meshname,
00565                     const med_int               numdt,
00566                     const med_int               numit,
00567                     const med_float             dt,
00568                     const med_entity_type       entitype,
00569                     const med_connectivity_mode cmode,
00570                     const med_int               faceindexsize,
00571                     const med_int * const       faceindex,
00572                     const med_int               nodeindexsize,
00573                     const med_int * const       nodeindex,
00574                     const med_int * const       connectivity );
00575 
00576 MEDC_EXPORT med_err
00577 MEDmeshGeotypeName(const med_idt                 fid,
00578                    const med_geometry_type       geotype,
00579                    char *                  const geotypename);
00580 MEDC_EXPORT med_err
00581 MEDmeshGeotypeParameter(const med_idt                 fid,
00582                         const med_geometry_type       geotype,
00583                         med_int *               const geodim,
00584                         med_int *               const nnodes);
00585 
00586 /*FIELD*/
00587 MEDC_EXPORT med_err
00588 MEDfieldCr( const med_idt fid,
00589             const char * const fieldname,
00590             const med_field_type fieldtype,
00591             const med_int nbofcomponent,
00592             const char * const componentname,
00593             const char * const componentunit,
00594             const char * const dtunit,
00595             const char * const meshname);
00596 
00597 MEDC_EXPORT med_err
00598 MEDfieldValueAdvancedWr(const med_idt              fid,
00599                         const char* const          fieldname,
00600                         const med_int              numdt,
00601                         const med_int              numit,
00602                         const med_float            dt,
00603                         const med_entity_type      entitype,
00604                         const med_geometry_type    geotype,
00605                         const char * const         localizationname,
00606                         const med_filter* const    filter,
00607                         const unsigned char* const value);
00608 
00609 MEDC_EXPORT med_err
00610 MEDfieldValueWithProfileWr(const med_idt              fid,
00611                            const char*  const         fieldname,
00612                            const med_int              numdt,
00613                            const med_int              numit,
00614                            const med_float            dt,
00615                            const med_entity_type      entitype,
00616                            const med_geometry_type    geotype,
00617                            const med_storage_mode     storagemode,
00618                            const char * const         profilename,
00619                            const char * const         localizationname,
00620                            const med_switch_mode      switchmode,
00621                            const med_int              componentselect,
00622                            const med_int              nbofentity,
00623                            const unsigned char* const value);
00624 
00625 MEDC_EXPORT med_err
00626 MEDfieldValueWr(const med_idt              fid,
00627                 const char*  const         fieldname,
00628                 const med_int              numdt,
00629                 const med_int              numit,
00630                 const med_float            dt,
00631                 const med_entity_type      entitype,
00632                 const med_geometry_type    geotype,
00633                 const med_switch_mode      switchmode,
00634                 const med_int              componentselect,
00635                 const med_int              nbofentity,
00636                 const unsigned char* const value);
00637 
00638 MEDC_EXPORT med_err
00639 MEDfieldValueAdvancedRd(const med_idt              fid,
00640                         const char*  const         fieldname,
00641                         const med_int              numdt,
00642                         const med_int              numit,
00643                         const med_entity_type      entitype,
00644                         const med_geometry_type    geotype,
00645                         const med_filter* const    filter,
00646                         unsigned char* const value);
00647 MEDC_EXPORT med_err
00648 MEDfieldValueWithProfileRd(const med_idt              fid,
00649                            const char*  const         fieldname,
00650                            const med_int              numdt,
00651                            const med_int              numit,
00652                            const med_entity_type      entitype,
00653                            const med_geometry_type    geotype,
00654                            const med_storage_mode     storagemode,
00655                            const char * const         profilename,
00656                            const med_switch_mode      switchmode,
00657                            const med_int              componentselect,
00658                            unsigned char* const value);
00659 
00660 MEDC_EXPORT med_err
00661 MEDfield23ValueWithProfileRd(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 char*  const         meshname,
00668                              const med_storage_mode     storagemode,
00669                              const char * const         profilename,
00670                              const med_switch_mode      switchmode,
00671                              const med_int              componentselect,
00672                              unsigned char* const value);
00673 MEDC_EXPORT med_err
00674 MEDfieldValueRd(const med_idt              fid,
00675                 const char*  const         fieldname,
00676                 const med_int              numdt,
00677                 const med_int              numit,
00678                 const med_entity_type      entitype,
00679                 const med_geometry_type    geotype,
00680                 const med_switch_mode      switchmode,
00681                 const med_int              componentselect,
00682                 unsigned char* const value);
00683 
00684 MEDC_EXPORT med_int
00685 MEDfieldnComponentByName(const med_idt fid, const char * const fieldname);
00686 
00687 MEDC_EXPORT med_int
00688 MEDfieldnComponent(const med_idt fid, const int ind);
00689 
00690 MEDC_EXPORT med_int
00691 MEDnField(const med_idt fid);
00692 
00693 MEDC_EXPORT med_err
00694 MEDfieldInfo(const med_idt fid,const int ind, char * const fieldname,
00695              char * const meshname, med_bool * const localmesh,
00696              med_field_type * const fieldtype, char * const componentname,
00697              char * const componentunit, char * const dtunit, med_int * const nbofcstp);
00698 
00699 MEDC_EXPORT med_err
00700 MEDfieldComputingStepInfo(const med_idt fid,
00701                           const char * const fieldname,
00702                           const int csit,
00703                           med_int * const numdt,
00704                           med_int * const numit,
00705                           med_float * const dt);
00706 
00707 MEDC_EXPORT med_err
00708 MEDfieldComputingStepMeshInfo(const med_idt fid,
00709                               const char * const fieldname,
00710                               const int csit,
00711                               med_int * const numdt,
00712                               med_int * const numit,
00713                               med_float * const dt,
00714                               med_int * const meshnumdt,
00715                               med_int * const meshnumit);
00716 
00717 MEDC_EXPORT med_err
00718 MEDfield23ComputingStepMeshInfo(const med_idt         fid,
00719                                 const char *    const fieldname,
00720                                 const int             csit,
00721                                 med_int *       const numdt,
00722                                 med_int *       const numit,
00723                                 med_float *     const dt,
00724                                 med_int *       const nmesh,
00725                                 char    *       const meshname,
00726                                 med_bool*       const localmesh,
00727                                 med_int *       const meshnumdt,
00728                                 med_int *       const meshnumit);
00729 
00730 MEDC_EXPORT med_err
00731 MEDfieldComputingStepMeshWr(const med_idt fid,
00732                             const char * const fieldname,
00733                             med_int numdt,
00734                             med_int numit,
00735                             med_int meshnumdt,
00736                             med_int meshnumit);
00737 
00738 MEDC_EXPORT med_err
00739 _MEDfieldComputingStepCheck236(med_idt fid,
00740                                const char * const fieldname,
00741                                med_size * const ncpst,
00742                                med_bool checkmultiplemesh, med_bool * const multiplemesh,
00743                                med_bool checkmeshname, med_bool * const samedefaultmeshname);
00744 
00745 MEDC_EXPORT med_err
00746 MEDfieldInfoByName(const med_idt fid,const char * const fieldname,
00747                    char * const meshname, med_bool * const localmesh,
00748                    med_field_type * const fieldtype, char * const componentname,
00749                    char * const componentunit, char * const dtunit, med_int * const nbofcstp);
00750 /*routine interne*/
00751 MEDC_EXPORT med_int
00752 _MEDfieldnValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00753                 const med_entity_type entitype, const med_geometry_type geotype,
00754                 char * const profilename, const  int profileit,
00755                 const med_storage_mode storagemode,med_int * const profilesize,
00756                 char * const localizationname, med_int * const nbofintegrationpoint);
00757 
00758 MEDC_EXPORT med_int
00759 _MEDfield23nValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00760                 const med_entity_type entitype, const med_geometry_type geotype, const char * const meshname,
00761                 char * const profilename, const  int profileit,
00762                 const med_storage_mode storagemode,med_int * const profilesize,
00763                 char * const localizationname, med_int * const nbofintegrationpoint);
00764 
00765 
00766 MEDC_EXPORT med_int
00767 MEDfieldnValueWithProfileByName(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00768                                 const med_entity_type entitype, const med_geometry_type geotype, const char * const profilename,
00769                                 const med_storage_mode storagemode,med_int * const profilesize,
00770                                 char * const localizationname, med_int * const nbofintegrationpoint);
00771 
00772 MEDC_EXPORT med_int
00773 MEDfieldnValueWithProfile(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00774                           const med_entity_type entitype, const med_geometry_type geotype,
00775                           const int profileit,
00776                           const med_storage_mode storagemode,char * const profilename ,med_int * const profilesize,
00777                           char * const localizationname, med_int * const nbofintegrationpoint);
00778 
00779 MEDC_EXPORT med_int
00780 MEDfieldnValue(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00781                const med_entity_type entitype, const med_geometry_type geotype);
00782 
00783 MEDC_EXPORT med_int
00784 MEDfield23nValueWithProfile(const med_idt fid, const char * const fieldname,const med_int numdt,const med_int numit,
00785                             const med_entity_type entitype, const med_geometry_type geotype,const char * const meshname,
00786                             const int profileit,
00787                             const med_storage_mode storagemode,char * const profilename ,med_int * const profilesize,
00788                             char * const localizationname, med_int * const nbofintegrationpoint);
00789 
00790 MEDC_EXPORT med_int
00791 MEDfieldnProfile(const med_idt fid,const char * const fieldname,
00792                  const med_int numdt, const med_int numit,
00793                  const med_entity_type enttype, const med_geometry_type geotype,
00794                  char * const defaultprofilename, char * const defaultlocalizationname);
00795 
00796 MEDC_EXPORT med_int
00797 MEDfield23nProfile(const med_idt fid,
00798                    const char * const fieldname,
00799                    const med_int numdt,
00800                    const med_int numit,
00801                    const med_entity_type   entitype,
00802                    const med_geometry_type geotype,
00803                    const int    meshit,
00804                    char * const meshname,
00805                    char * const defaultprofilename,
00806                    char * const defaultlocalizationname);
00807 
00808 
00809 MEDC_EXPORT med_err
00810 MEDfieldInterpWr(const med_int fid,
00811                  const char* const fieldname,
00812                  const char* interpname);
00813 
00814 MEDC_EXPORT med_int
00815 MEDfieldnInterp(
00816                 const med_int fid,
00817                 const char* const fieldname);
00818 
00819 
00820 MEDC_EXPORT med_err
00821 MEDfieldInterpInfo(
00822                    const med_int       fid,
00823                    const char*   const fieldname,
00824                          int           interpit,
00825                          char*   const interpname
00826                    );
00827 
00828 
00829 /* Family  */
00830 MEDC_EXPORT med_err
00831 MEDfamilyCr(const med_idt      fid,
00832             const char * const meshname,
00833             const char * const familyname,
00834             const med_int      familynumber,
00835             const med_int      ngroup,
00836             const char * const groupname);
00837 
00838 MEDC_EXPORT med_int
00839 MEDnFamily(const med_idt      fid,
00840            const char * const meshname);
00841 
00842 MEDC_EXPORT med_int
00843 MEDnFamilyGroup(const med_idt      fid,
00844                 const char * const meshname,
00845                 const int          famit);
00846 
00847 MEDC_EXPORT med_err
00848 MEDfamilyInfo(const med_idt  fid,
00849               const char *   meshname,
00850               const int      famit,
00851               char * const   familyname,
00852               med_int *const familynumber,
00853               char *const    groupname);
00854 
00855 MEDC_EXPORT med_int
00856 MEDnFamily23Attribute(const med_idt      fid,
00857                       const char * const meshname,
00858                       const int          famit);
00859 
00860 MEDC_EXPORT med_err
00861 MEDfamily23Info( const med_idt       fid,
00862                  const char*   const meshname,
00863                  const int           famit,
00864                  char*         const familyname,
00865                  med_int*      const attributenumber,
00866                  med_int*      const attributevalue,
00867                  char*         const attributedes,
00868                  med_int*      const familynumber,
00869                  char*         const groupname);
00870 
00871 /* Equivalence    */
00872 
00873 MEDC_EXPORT med_err
00874 MEDequivalenceCr(const med_idt      fid,
00875                  const char * const meshname,
00876                  const char * const equivname,
00877                  const char * const description);
00878 
00879 MEDC_EXPORT med_err
00880 MEDequivalenceCorrespondenceWr(const med_idt            fid,
00881                                const char * const       meshname,
00882                                const char * const       equivname,
00883                                const med_int            numdt,
00884                                const med_int            numit,
00885                                const med_entity_type    entitype,
00886                                const med_geometry_type  geotype,
00887                                const med_int            nentity,
00888                                const med_int * const    correspondence);
00889 
00890 MEDC_EXPORT med_err
00891 MEDequivalenceCorrespondenceRd(const med_idt            fid,
00892                                const char * const       meshname,
00893                                const char * const       equivname,
00894                                const med_int            numdt,
00895                                const med_int            numit,
00896                                const med_entity_type    entitype,
00897                                const med_geometry_type  geotype,
00898                                med_int * const          correspondence);
00899 
00900 MEDC_EXPORT med_int
00901 MEDnEquivalence(const med_idt      fid,
00902                 const char * const meshname);
00903 
00904 MEDC_EXPORT med_err
00905 MEDequivalenceInfo(const med_idt      fid,
00906                    const char * const meshname,
00907                    const int          equivit,
00908                    char * const       equivname,
00909                    char * const       equivdescription,
00910                    med_int * const    nstep,
00911                    med_int * const    nocstpncorrespondence);
00912 
00913 MEDC_EXPORT med_err
00914 MEDequivalenceComputingStepInfo(const med_idt      fid,
00915                                 const char * const meshname,
00916                                 const char * const equivname,
00917                                 const int          csit,
00918                                 med_int * const    numdt,
00919                                 med_int * const    numit,
00920                                 med_int * const    ncorrespondence );
00921 
00922 
00923 MEDC_EXPORT med_err
00924 MEDequivalenceCorrespondenceSizeInfo(const med_idt              fid,
00925                                      const char * const         meshname,
00926                                      const char * const         equivname,
00927                                      const med_int              numdt,
00928                                      const med_int              numit,
00929                                      const int                  corit,
00930                                      med_entity_type * const    entitype,
00931                                      med_geometry_type* const   geotype,
00932                                      med_int * const            nentity );
00933 
00934 /*Uses case equivalencename from Mesh element iteration*/
00935 /* MEDC_EXPORT med_err */
00936 /* MEDequivalenceInfoByName(const med_idt      fid, */
00937 /*                       const char * const meshname, */
00938 /*                       const char * const equivname, */
00939 /*                       char * const       equivdescription, */
00940 /*                       med_int * const    nstep, */
00941 /*                       med_int * const    nocstpncorrespondence); */
00942 
00943 MEDC_EXPORT med_err
00944 MEDequivalenceCorrespondenceSize(const med_idt             fid,
00945                                  const char * const        meshname,
00946                                  const char * const        equivname,
00947                                  const med_int             numdt,
00948                                  const med_int             numit,
00949                                  const med_entity_type     entitype,
00950                                  const med_geometry_type   geotype,
00951                                  med_int * const           nentity );
00952 
00953 
00954 
00955 /* MEDC_EXPORT med_err */
00956 /* MEDmeshEquivalenceInfo(const med_idt            fid, */
00957 /*                     const char * const       meshname, */
00958 /*                     const med_int            numdt, */
00959 /*                     const med_int            numit, */
00960 /*                     const med_entity_type    entitype, */
00961 /*                     const med_geometry_type  geotype, */
00962 /*                     char * const             equivname ); */
00963 
00964 /* Joints */
00965 
00966 MEDC_EXPORT med_err
00967 MEDsubdomainJointCr(const med_idt      fid,
00968                     const char * const localmeshname,
00969                     const char * const jointname,
00970                     const char * const description,
00971                     const med_int      domainnumber,
00972                     const char * const remotemeshname);
00973 
00974 MEDC_EXPORT med_err
00975 MEDsubdomainCorrespondenceWr(const med_idt            fid,
00976                              const char * const       meshname,
00977                              const char * const       jointname,
00978                              const med_int            numdt,
00979                              const med_int            numit,
00980                              const med_entity_type    localentitytype,
00981                              const med_geometry_type  localgeotype,
00982                              const med_entity_type    remoteentitytype,
00983                              const med_geometry_type  remotegeotype,
00984                              const med_int            nentity,
00985                              const med_int * const    correspondence);
00986 
00987 MEDC_EXPORT med_int
00988 MEDnSubdomainJoint(const med_idt      fid,
00989                    const char * const meshname);
00990 
00991 MEDC_EXPORT med_err
00992 MEDsubdomainJointInfo(const med_idt      fid,
00993                       const char * const meshname,
00994                       const int          jointit,
00995                       char * const       jointname,
00996                       char * const       description,
00997                       med_int * const    domainnumber,
00998                       char * const       remotemeshname,
00999                       med_int * const    nstep,
01000                       med_int * const    nocstpncorrespondence);
01001 
01002 MEDC_EXPORT med_err
01003 MEDsubdomainComputingStepInfo(const med_idt      fid,
01004                               const char * const meshname,
01005                               const char * const jointname,
01006                               const int          csit,
01007                               med_int * const    numdt,
01008                               med_int * const    numit,
01009                               med_int * const    ncorrespondence );
01010 
01011 MEDC_EXPORT med_err
01012 MEDsubdomainCorrespondenceSizeInfo(const med_idt              fid,
01013                                    const char * const         meshname,
01014                                    const char * const         jointname,
01015                                    const med_int              numdt,
01016                                    const med_int              numit,
01017                                    const int                  corit,
01018                                    med_entity_type   * const  localentitytype,
01019                                    med_geometry_type * const  localgeotype,
01020                                    med_entity_type   * const  remoteentitytype,
01021                                    med_geometry_type * const  remotegeotype,
01022                                    med_int * const            nentity );
01023 
01024 MEDC_EXPORT med_err
01025 MEDsubdomainCorrespondenceSize(const med_idt              fid,
01026                                const char * const         meshname,
01027                                const char * const         jointname,
01028                                const med_int              numdt,
01029                                const med_int              numit,
01030                                const med_entity_type      localentitytype,
01031                                const med_geometry_type    localgeotype,
01032                                const med_entity_type      remoteentitytype,
01033                                const med_geometry_type    remotegeotype,
01034                                med_int * const            nentity );
01035 MEDC_EXPORT med_err
01036 MEDsubdomainCorrespondenceRd(const med_idt            fid,
01037                              const char * const       meshname,
01038                              const char * const       jointname,
01039                              const med_int            numdt,
01040                              const med_int            numit,
01041                              const med_entity_type    localentitytype,
01042                              const med_geometry_type  localgeotype,
01043                              const med_entity_type    remoteentitytype,
01044                              const med_geometry_type  remotegeotype,
01045                              med_int * const          correspondence);
01046 
01047 MEDC_EXPORT
01048 med_err MEDmeshGlobalNumberWr(const med_idt               fid,
01049                               const char*  const          meshname,
01050                               const med_int               numdt,
01051                               const med_int               numit,
01052                               const med_entity_type       entitytype,
01053                               const med_geometry_type     geotype,
01054                               const med_int               nbofentity,
01055                               const med_int * const       number);
01056 MEDC_EXPORT
01057 med_err MEDmeshGlobalNumberRd(const med_idt               fid,
01058                               const char*  const          meshname,
01059                               const med_int               numdt,
01060                               const med_int               numit,
01061                               const med_entity_type       entitytype,
01062                               const med_geometry_type     geotype,
01063                               med_int * const             number);
01064 
01065 /* Routines de niveau intermediaire */
01066 MEDC_EXPORT
01067 med_err MEDmeshNodeWr(const med_idt                  fid,
01068                       const char            * const  meshname,
01069                       const med_int                  numdt,
01070                       const med_int                  numit,
01071                       const med_float                dt,
01072                       const med_switch_mode          switchmode,
01073                       const med_int                  nbofentity,
01074                       const med_float       * const  coordinate,
01075                       const med_bool                 withnodename,
01076                       const char            * const  nodename,
01077                       const med_bool                 withnodenumber,
01078                       const med_int         * const  nodenumber,
01079                       const med_bool                 withfamnumber,
01080                       const med_int         * const  famnumber);
01081 
01082 MEDC_EXPORT
01083 med_err MEDmeshNodeRd(const med_idt                  fid,
01084                       const char            * const  meshname,
01085                       const med_int                  numdt,
01086                       const med_int                  numit,
01087                       const med_switch_mode          switchmode,
01088                       med_float             * const  coordinate,
01089                       med_bool              * const  withnodename,
01090                       char                  * const  nodename,
01091                       med_bool              * const  withnodenumber,
01092                       med_int               * const  nodenumber,
01093                       med_bool              * const  withfamnumber,
01094                       med_int               * const  famnumber);
01095 
01096 MEDC_EXPORT
01097 med_err MEDmeshElementWr(const med_idt                  fid,
01098                          const char            * const  meshname,
01099                          const med_int                  numdt,
01100                          const med_int                  numit,
01101                          const med_float                dt,
01102                          const med_entity_type          entitype,
01103                          const med_geometry_type        geotype,
01104                          const med_connectivity_mode    cmode,
01105                          const med_switch_mode          switchmode,
01106                          const med_int                  nbofentity,
01107                          const med_int         * const  connectivity,
01108                          const med_bool                 withelementname,
01109                          const char            * const  elementname,
01110                          const med_bool                 withelementnumber,
01111                          const med_int         * const  elementnumber,
01112                          const med_bool                 withfamnumber,
01113                          const med_int         * const  famnumber);
01114 MEDC_EXPORT
01115 med_err MEDmeshElementRd(const med_idt                  fid,
01116                          const char            * const  meshname,
01117                          const med_int                  numdt,
01118                          const med_int                  numit,
01119                          const med_entity_type          entitype,
01120                          const med_geometry_type        geotype,
01121                          const med_connectivity_mode    cmode,
01122                          const med_switch_mode          switchmode,
01123                          med_int               * const  connectivity,
01124                          med_bool              * const  withelementname,
01125                          char                  * const  elementname,
01126                          med_bool              * const  withelementnumber,
01127                          med_int               * const  elementnumber,
01128                          med_bool              * const  withfamnumber,
01129                          med_int               * const  famnumber);
01130 
01131 /* Profile */
01132 MEDC_EXPORT med_int
01133 MEDnProfile(const med_idt fid );
01134 
01135 MEDC_EXPORT med_err
01136 MEDprofileInfo(const med_idt          fid,
01137                const int              profileit,
01138                char    *     const    profilename,
01139                med_int *     const    profilesize );
01140 MEDC_EXPORT med_err
01141 MEDprofileWr(const med_idt        fid,
01142              const char* const    profilename,
01143              const med_int        profilesize,
01144              const med_int* const profilearray);
01145 
01146 MEDC_EXPORT med_int
01147 MEDprofileSizeByName(const med_idt fid, const char * const profilename);
01148 
01149 MEDC_EXPORT med_err
01150 MEDprofileRd(const med_idt      fid,
01151              const char * const profilename,
01152              med_int * const    profilearray );
01153 
01154 /* Filter */
01155 
01156 MEDC_EXPORT med_err
01157 MEDfilterEntityCr(const med_idt fid,
01158                   const med_int nbofentity,
01159                   const med_int nbofvaluesperentity,
01160                   const med_int nbofconstituentpervalue,
01161                   const med_int constituentselect,
01162                   const med_switch_mode switchmode,
01163                   const med_storage_mode storagemode,
01164                   const char * const profilename,
01165                   const med_int filterarraysize,
01166                   const med_int *filterarray, med_filter* const filter);
01167 
01168 MEDC_EXPORT med_err
01169 MEDfilterBlockOfEntityCr(const med_idt          fid,
01170                          const med_int          nbofentity,
01171                          const med_int          nbofvaluesperentity,
01172                          const med_int          nbofconstituentpervalue,
01173                          const med_int          constituentselect,
01174                          const med_switch_mode  switchmode,
01175                          const med_storage_mode storagemode,
01176                          const char * const     profilename,
01177                          const med_size         start,
01178                          const med_size         stride,
01179                          const med_size         count,
01180                          const med_size         blocksize,
01181                          const med_size         lastblocksize,
01182                          med_filter*    const   filter);
01183 
01184 MEDC_EXPORT med_err
01185 MEDfilterDeAllocate(const int nfilter,
01186                     med_filter * filter);
01187 
01188 MEDC_EXPORT med_filter*
01189 MEDfilterAllocate(const int nfilter);
01190 
01191 MEDC_EXPORT med_err
01192 MEDfilterClose(  med_filter * const filter);
01193 
01194 /* Localization */
01195 MEDC_EXPORT med_err
01196 MEDlocalizationWr(const med_idt fid,
01197                   const char * const localizationname,
01198                   const med_geometry_type geotype,
01199                   const med_int spacedimension,
01200                   const med_float* const elementcoordinate,
01201                   const med_switch_mode switchmode,
01202                   const med_int nbofipoint,
01203                   const med_float* const ipointcoordinate,
01204                   const med_float* const weight,
01205                   const char *     const  geointerpname,
01206                   const char *     const  ipointstructmeshname);
01207 
01208 
01209 MEDC_EXPORT med_err
01210 MEDlocalizationRd(const med_idt                 fid,
01211                   const char*            const  localizationname,
01212                   const med_switch_mode         switchmode,
01213                   med_float*             const  elementcoordinate,
01214                   med_float*             const  ipointcoordinate,
01215                   med_float*             const  weight);
01216 
01217 MEDC_EXPORT med_int
01218 MEDnLocalization(const med_idt fid );
01219 
01220 MEDC_EXPORT med_err
01221 MEDlocalizationInfo(const med_idt             fid,
01222                     const int                 localizationit,
01223                     char              * const localizationname,
01224                     med_geometry_type * const geotype,
01225                     med_int           * const spacedimension,
01226                     med_int           * const nbofipoint,
01227                     char *              const geointerpname,
01228                     char *              const sectionmeshname,
01229                     med_int           * const nsectionmeshcell,
01230                     med_geometry_type * const sectiongeotype);
01231 
01232 MEDC_EXPORT med_err
01233 MEDlocalizationInfoByName(const med_idt             fid,
01234                           const char        * const localizationname,
01235                           med_geometry_type * const geotype,
01236                           med_int           * const spacedimension,
01237                           med_int           * const nbofipoint,
01238                           char *              const geointerpname,
01239                           char *              const sectionmeshname,
01240                           med_int           * const nsectionmeshcell,
01241                           med_geometry_type * const sectiongeotype);
01242 
01243 
01244 /* Link */
01245 MEDC_EXPORT med_err
01246 MEDlinkWr(const med_idt        fid,
01247           const char   * const meshname,
01248           const char   * const link);
01249 
01250 MEDC_EXPORT med_err
01251 MEDlinkRd(const med_idt     fid,
01252           const char* const meshname,
01253           char* const       link);
01254 
01255 MEDC_EXPORT med_int
01256 MEDnLink(const med_idt fid );
01257 MEDC_EXPORT med_int
01258 MEDlinkInfoByName(const med_idt             fid,
01259                   const char        * const meshname );
01260 
01261 MEDC_EXPORT med_err
01262 MEDlinkInfo(const med_idt             fid,
01263             const int                 linkit,
01264             char              * const meshname,
01265             med_int           * const linksize );
01266 
01267 /* Variables scalaires */
01268 
01269 /* Struct Elements */
01270 
01271 MEDC_EXPORT med_geometry_type
01272 MEDstructElementCr(const med_idt                 fid,
01273                    const char*             const modelname,
01274                    const med_int                 modeldim,
01275                    const char*             const supportmeshname,
01276                    const med_entity_type         sentitytype,
01277                    const med_geometry_type       sgeotype
01278                    );
01279 
01280 MEDC_EXPORT med_int
01281 MEDnStructElement(const med_idt      fid);
01282 
01283 MEDC_EXPORT med_err
01284 MEDstructElementConstAttWithProfileWr(const med_idt                  fid,
01285                                       const char*              const modelname,
01286                                       const char*              const constattname,
01287                                       const med_attribute_type       constatttype,
01288                                       const med_int                  nbofcomponent,
01289                                       const med_entity_type          sentitytype,
01290                                       const char*              const profilename,
01291                                       const void*              const value
01292                                       );
01293 
01294 MEDC_EXPORT med_err
01295 MEDstructElementConstAttWr(const med_idt                  fid,
01296                            const char*              const modelname,
01297                            const char*              const constattname,
01298                            const med_attribute_type       constatttype,
01299                            const med_int                  nbofcomponent,
01300                            const med_entity_type          sentitytype,
01301                            const void*              const value
01302                            );
01303 
01304 MEDC_EXPORT med_err
01305 MEDstructElementInfoByName(const med_idt             fid,
01306                            const char *        const modelname,
01307                            med_geometry_type * const mgeotype,
01308                            med_int*            const modeldim,
01309                            char*               const supportmeshname,
01310                            med_entity_type*    const sentitytype,
01311                            med_int*            const snbofnode,
01312                            med_int*            const snbofcell,
01313                            med_geometry_type*  const sgeotype,
01314                            med_int*            const nbofconstantatribute,
01315                            med_bool*           const anyprofile,
01316                            med_int*            const nbofvariableattribute
01317                            );
01318 
01319 MEDC_EXPORT med_err
01320 MEDstructElementInfo(const med_idt             fid,
01321                      const int                 mit,
01322                      char *              const modelname,
01323                      med_geometry_type * const mgeotype,
01324                      med_int*            const modeldim,
01325                      char*               const supportmeshname,
01326                      med_entity_type*    const sentitytype,
01327                      med_int*            const snbofnode,
01328                      med_int*            const snbofcell,
01329                      med_geometry_type*  const sgeotype,
01330                      med_int*            const nbofconstantattribute,
01331                      med_bool*           const anyprofile,
01332                      med_int*            const nbofvariableattribute
01333                      );
01334 
01335 MEDC_EXPORT med_err
01336 MEDstructElementConstAttInfoByName(const med_idt             fid,
01337                                    const char*         const modelname,
01338                                    const char*         const constattname,
01339                                    med_attribute_type* const constatttype,
01340                                    med_int*            const nbofcomponent,
01341                                    med_entity_type*    const sentitytype,
01342                                    char*               const profilename,
01343                                    med_int*            const profilesize
01344                                    );
01345 MEDC_EXPORT med_err
01346 MEDstructElementConstAttInfo(const med_idt             fid,
01347                              const char*         const modelname,
01348                              const int                 attit,
01349                              char*               const constattname,
01350                              med_attribute_type* const constatttype,
01351                              med_int*            const nbofcomponent,
01352                              med_entity_type*    const sentitytype,
01353                              char*               const profilename,
01354                              med_int*            const profilesize
01355                              );
01356 
01357 MEDC_EXPORT med_err
01358 MEDstructElementConstAttRd(const med_idt                  fid,
01359                            const char*              const modelname,
01360                            const char*              const constattname,
01361                            void*                    const value
01362                            );
01363 
01364 MEDC_EXPORT int
01365 MEDstructElementAttSizeof( med_attribute_type atttype );
01366 
01367 MEDC_EXPORT med_err
01368 MEDstructElementVarAttCr(const med_idt                  fid,
01369                          const char*              const modelname,
01370                          const char*              const varattname,
01371                          const med_attribute_type       varatttype,
01372                          const med_int                  nbofcomponent
01373                          );
01374 
01375 MEDC_EXPORT med_err
01376 MEDstructElementVarAttInfoByName(const med_idt                   fid,
01377                                  const char*               const modelname,
01378                                  const char*               const varattname,
01379                                        med_attribute_type* const varatttype,
01380                                        med_int*            const nbofcomponent
01381                                  );
01382 
01383 MEDC_EXPORT med_err
01384 MEDstructElementVarAttInfo(const med_idt                   fid,
01385                            const char*               const modelname,
01386                            const int                       attit,
01387                                  char*               const varattname,
01388                                  med_attribute_type* const varatttype,
01389                                  med_int*            const nbofcomponent
01390                            );
01391 
01392 MEDC_EXPORT med_err
01393 MEDmeshStructElementVarAttWr(const med_idt                  fid,
01394                              const char*              const meshname,
01395                              const med_int                  numdt,
01396                              const med_int                  numit,
01397                              const med_geometry_type        mgeotype,
01398                              const char*              const varattname,
01399                              const med_int                  nbofentity,
01400                              const void*              const value
01401                              );
01402 MEDC_EXPORT med_err
01403 MEDmeshStructElementVarAttRd(const med_idt                  fid,
01404                              const char*              const meshname,
01405                              const med_int                  numdt,
01406                              const med_int                  numit,
01407                              const med_geometry_type        mgeotype,
01408                              const char*              const varattname,
01409                              void*                    const value
01410                              );
01411 
01412 MEDC_EXPORT med_err
01413 MEDstructElementName(const med_idt                 fid,
01414                      const med_geometry_type       mgeotype,
01415                      char *                  const modelname);
01416 
01417 
01418 MEDC_EXPORT med_geometry_type
01419 MEDstructElementGeotype(const med_idt                 fid,
01420                         const char *            const modelname);
01421 
01422 /* Maillages support aux mod�les d'�l�ments de structure */
01423 
01424 MEDC_EXPORT med_err
01425 MEDsupportMeshCr(const med_idt       fid,
01426                  const char* const   supportmeshname,
01427                  const med_int       spacedim,
01428                  const med_int       meshdim,
01429                  const char* const   description,
01430                  const med_axis_type axistype,
01431                  const char* const   axisname,
01432                  const char* const   axisunit
01433                  );
01434 
01435 
01436 
01437 MEDC_EXPORT med_err
01438 MEDsupportMeshInfoByName(const med_idt         fid,
01439                          const char *    const supportmeshname,
01440                          med_int *       const spacedim,
01441                          med_int *       const meshdim,
01442                          char *          const description,
01443                          med_axis_type * const axistype,
01444                          char *          const axisname,
01445                          char *          const axisunit);
01446 
01447 MEDC_EXPORT med_err
01448 MEDsupportMeshInfo(const med_idt            fid,
01449                    const int                meshit,
01450                    char   *           const supportmeshname,
01451                    med_int *          const spacedim,
01452                    med_int *          const meshdim,
01453                    char *             const description,
01454                    med_axis_type *    const axistype,
01455                    char *             const axisname,
01456                    char *             const axisunit);
01457 
01458 MEDC_EXPORT med_int
01459 MEDnSupportMesh(const med_idt fid);
01460 
01461 MEDC_EXPORT med_int
01462 MEDsupportMeshnAxis(const med_idt fid, const int meshit);
01463 
01464 MEDC_EXPORT med_int
01465 MEDsupportMeshnAxisByName(const med_idt fid, const char * const meshname);
01466 
01467 
01468 MEDC_EXPORT med_idt
01469 _MEDmeshDatagroupOpen(const med_idt               fid,
01470                       const char*  const          meshname,
01471                       char *       const          usedpath,
01472                       med_bool *   const          isasupportmesh
01473                      );
01474 
01475 
01476   /* Parameter */
01477 MEDC_EXPORT med_err
01478 MEDparameterCr(const med_idt fid,
01479                const char * const paramname,
01480                const med_parameter_type paramtype,
01481                const char* const description,
01482                const char * const dtunit
01483                );
01484 
01485 MEDC_EXPORT med_int
01486 MEDnParameter(const med_idt fid);
01487 
01488 MEDC_EXPORT med_err
01489 MEDparameterInfo(const med_idt            fid,
01490                  const int                paramit,
01491                  char   *             const paramname,
01492                  med_parameter_type * const paramtype,
01493                  char *               const description,
01494                  char *               const dtunit,
01495                  med_int *            const nstep);
01496 
01497 MEDC_EXPORT med_err
01498 MEDparameterInfoByName(const med_idt        fid,
01499                        const char   *       const paramname,
01500                        med_parameter_type * const paramtype,
01501                        char *               const description,
01502                        char *               const dtunit,
01503                        med_int *            const nstep);
01504 
01505 MEDC_EXPORT med_err
01506 MEDparameterValueWr(const med_idt              fid,
01507                     const char*  const         paramname,
01508                     const med_int              numdt,
01509                     const med_int              numit,
01510                     const med_float            dt,
01511                     const unsigned char* const value);
01512 
01513 MEDC_EXPORT med_err
01514 MEDparameterValueRd(const med_idt              fid,
01515                     const char*  const         paramname,
01516                     const med_int              numdt,
01517                     const med_int              numit,
01518                     unsigned char* const value);
01519 
01520 
01521 MEDC_EXPORT med_err
01522 MEDparameterComputationStepInfo(const med_idt      fid,
01523                                 const char * const paramname,
01524                                 const int          csit,
01525                                 med_int * const    numdt,
01526                                 med_int * const    numit,
01527                                 med_float * const  dt );
01528 
01529   /* Fonctions d'interpolation */
01530 MEDC_EXPORT med_err
01531 MEDinterpCr(const med_idt                 fid,
01532             const char*             const interpname,
01533             const med_geometry_type       geotype,
01534             const med_bool                cellnodes,
01535             const med_int                 nbofvariable,
01536             const med_int                 maxdegree,
01537             const med_int                 nmaxcoef
01538             );
01539 
01540 MEDC_EXPORT med_err
01541 MEDinterpBaseFunctionWr( const med_idt          fid,
01542                          const char*      const interpname,
01543                          const med_int          basisfuncit,
01544                          const med_int          nbofcoef,
01545                          const med_int*   const power,
01546                          const med_float* const coefficient);
01547 
01548 MEDC_EXPORT med_int
01549 MEDnInterp(const med_idt fid);
01550 
01551 MEDC_EXPORT med_err
01552 MEDinterpInfo(const med_idt                 fid,
01553               const int                      interpit,
01554                     char*              const interpname,
01555                     med_geometry_type* const geotype,
01556                     med_bool*          const cellnode,
01557                     med_int*           const nbofbasisfunc,
01558                     med_int*           const nbofvariable,
01559                     med_int*           const maxdegree,
01560                     med_int*           const nmaxcoef
01561               );
01562 
01563 MEDC_EXPORT med_err
01564 MEDinterpInfoByName(const med_idt                   fid,
01565                     const char*               const interpname,
01566                            med_geometry_type*       geotype,
01567                            med_bool*          const cellnode,
01568                            med_int*           const nbofbasisfunc,
01569                            med_int*           const nbofvariable,
01570                            med_int*           const maxdegree,
01571                            med_int*           const nmaxcoef
01572                     );
01573 
01574 MEDC_EXPORT med_err
01575 MEDinterpBaseFunctionRd( const med_idt          fid,
01576                          const char*      const interpname,
01577                          const int              basisfuncit,
01578                                med_int*         nbofcoef,
01579                                med_int*   const power,
01580                          med_float* const coefficient);
01581 
01582 MEDC_EXPORT med_int
01583 MEDinterpBaseFunctionCoefSize( const med_idt          fid,
01584                                const char*      const interpname,
01585                                const med_int          basisfuncit);
01586 #ifdef __cplusplus
01587 }
01588 #endif
01589 
01590 #endif /* MED_PROTO_H */
01591 
01592 
01593 
01594 

Généré le Mon Nov 7 16:21:24 2011 pour MED fichier par  doxygen 1.6.1