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

Généré le Mon May 16 17:10:23 2011 pour MED fichier par  doxygen 1.6.1