medfield.h

Aller à la documentation de ce fichier.
00001 /*  This file is part of MED.
00002  *
00003  *  COPYRIGHT (C) 1999 - 2015  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_MEDFIELD_H
00019 #define MED_MEDFIELD_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 MEDC_EXPORT med_err
00029 MEDfieldCr( const med_idt        fid,
00030             const char * const   fieldname,
00031             const med_field_type fieldtype,
00032             const med_int        ncomponent,
00033             const char * const   componentname,
00034             const char * const   componentunit,
00035             const char * const   dtunit,
00036             const char * const   meshname);
00037 
00038 MEDC_EXPORT med_err
00039 MEDfieldValueAdvancedWr(const med_idt               fid,
00040                         const char * const          fieldname,
00041                         const med_int               numdt,
00042                         const med_int               numit,
00043                         const med_float             dt,
00044                         const med_entity_type       entitype,
00045                         const med_geometry_type     geotype,
00046                         const char * const          localizationname,
00047                         const med_filter * const    filter,
00048                         const unsigned char * const value);
00049 
00050 MEDC_EXPORT med_err
00051 MEDfieldValueWithProfileWr(const med_idt               fid,
00052                            const char *  const         fieldname,
00053                            const med_int               numdt,
00054                            const med_int               numit,
00055                            const med_float             dt,
00056                            const med_entity_type       entitype,
00057                            const med_geometry_type     geotype,
00058                            const med_storage_mode      storagemode,
00059                            const char * const          profilename,
00060                            const char * const          localizationname,
00061                            const med_switch_mode       switchmode,
00062                            const med_int               componentselect,
00063                            const med_int               nentity,
00064                            const unsigned char * const value);
00065 
00066 MEDC_EXPORT med_err
00067 MEDfieldValueWr(const med_idt               fid,
00068                 const char *  const         fieldname,
00069                 const med_int               numdt,
00070                 const med_int               numit,
00071                 const med_float             dt,
00072                 const med_entity_type       entitype,
00073                 const med_geometry_type     geotype,
00074                 const med_switch_mode       switchmode,
00075                 const med_int               componentselect,
00076                 const med_int               nentity,
00077                 const unsigned char * const value);
00078 
00079 MEDC_EXPORT med_err
00080 MEDfieldValueAdvancedRd(const med_idt              fid,
00081                         const char *  const        fieldname,
00082                         const med_int              numdt,
00083                         const med_int              numit,
00084                         const med_entity_type      entitype,
00085                         const med_geometry_type    geotype,
00086                         const med_filter * const   filter,
00087                         unsigned char * const      value);
00088 MEDC_EXPORT med_err
00089 MEDfieldValueWithProfileRd(const med_idt              fid,
00090                            const char *  const        fieldname,
00091                            const med_int              numdt,
00092                            const med_int              numit,
00093                            const med_entity_type      entitype,
00094                            const med_geometry_type    geotype,
00095                            const med_storage_mode     storagemode,
00096                            const char * const         profilename,
00097                            const med_switch_mode      switchmode,
00098                            const med_int              componentselect,
00099                            unsigned char * const      value);
00100 
00101 MEDC_EXPORT med_err
00102 MEDfield23ValueWithProfileRd(const med_idt              fid,
00103                              const char *  const        fieldname,
00104                              const med_int              numdt,
00105                              const med_int              numit,
00106                              const med_entity_type      entitype,
00107                              const med_geometry_type    geotype,
00108                              const char *  const        meshname,
00109                              const med_storage_mode     storagemode,
00110                              const char * const         profilename,
00111                              const med_switch_mode      switchmode,
00112                              const med_int              componentselect,
00113                              unsigned char * const      value);
00114 MEDC_EXPORT med_err
00115 MEDfieldValueRd(const med_idt              fid,
00116                 const char *  const        fieldname,
00117                 const med_int              numdt,
00118                 const med_int              numit,
00119                 const med_entity_type      entitype,
00120                 const med_geometry_type    geotype,
00121                 const med_switch_mode      switchmode,
00122                 const med_int              componentselect,
00123                 unsigned char * const      value);
00124 
00125 MEDC_EXPORT med_int
00126 MEDfieldnComponentByName(const med_idt      fid,
00127                          const char * const fieldname);
00128 
00129 MEDC_EXPORT med_int
00130 MEDfieldnComponent(const med_idt fid,
00131                    const int     ind);
00132 
00133 MEDC_EXPORT med_int
00134 MEDnField(const med_idt fid);
00135 
00136 MEDC_EXPORT med_err
00137 MEDfieldInfo(const med_idt          fid,
00138              const int              ind,
00139              char * const           fieldname,
00140              char * const           meshname,
00141              med_bool * const       localmesh,
00142              med_field_type * const fieldtype,
00143              char * const           componentname,
00144              char * const           componentunit,
00145              char * const           dtunit,
00146              med_int * const        ncstp);
00147 
00148 MEDC_EXPORT med_err
00149 MEDfieldComputingStepInfo(const med_idt      fid,
00150                           const char * const fieldname,
00151                           const int          csit,
00152                           med_int * const    numdt,
00153                           med_int * const    numit,
00154                           med_float * const  dt);
00155 
00156 MEDC_EXPORT med_err
00157 MEDfieldComputingStepMeshInfo(const med_idt      fid,
00158                               const char * const fieldname,
00159                               const int          csit,
00160                               med_int * const    numdt,
00161                               med_int * const    numit,
00162                               med_float * const  dt,
00163                               med_int * const    meshnumdt,
00164                               med_int * const    meshnumit);
00165 
00166 MEDC_EXPORT med_err
00167 MEDfield23ComputingStepMeshInfo(const med_idt         fid,
00168                                 const char *    const fieldname,
00169                                 const int             csit,
00170                                 med_int *       const numdt,
00171                                 med_int *       const numit,
00172                                 med_float *     const dt,
00173                                 med_int *       const nmesh,
00174                                 char    *       const meshname,
00175                                 med_bool *      const localmesh,
00176                                 med_int *       const meshnumdt,
00177                                 med_int *       const meshnumit);
00178 
00179 MEDC_EXPORT med_err
00180 MEDfieldComputingStepMeshWr(const med_idt      fid,
00181                             const char * const fieldname,
00182                             const med_int      numdt,
00183                             const med_int      numit,
00184                             const med_int      meshnumdt,
00185                             const med_int      meshnumit);
00186 
00187 MEDC_EXPORT med_err
00188 MEDfieldInfoByName(const med_idt          fid,
00189                    const char * const     fieldname,
00190                    char * const           meshname,
00191                    med_bool * const       localmesh,
00192                    med_field_type * const fieldtype,
00193                    char * const           componentname,
00194                    char * const           componentunit,
00195                    char * const           dtunit,
00196                    med_int * const        ncstp);
00197 
00198 MEDC_EXPORT med_int
00199 MEDfieldnValueWithProfileByName(const med_idt      fid,
00200                                 const char * const fieldname,
00201                                 const med_int numdt,
00202                                 const med_int numit,
00203                                 const med_entity_type entitype,
00204                                 const med_geometry_type geotype,
00205                                 const char * const profilename,
00206                                 const med_storage_mode storagemode,
00207                                 med_int * const profilesize,
00208                                 char * const localizationname,
00209                                 med_int * const nintegrationpoint);
00210 
00211 MEDC_EXPORT med_int
00212 MEDfieldnValueWithProfile(const med_idt fid,
00213                           const char * const fieldname,
00214                           const med_int numdt,
00215                           const med_int numit,
00216                           const med_entity_type entitype,
00217                           const med_geometry_type geotype,
00218                           const int profileit,
00219                           const med_storage_mode storagemode,
00220                           char * const profilename ,
00221                           med_int * const profilesize,
00222                           char * const localizationname,
00223                           med_int * const nintegrationpoint);
00224 
00225 MEDC_EXPORT med_int
00226 MEDfieldnValue(const med_idt fid,
00227                const char * const fieldname,
00228                const med_int numdt,const med_int numit,
00229                const med_entity_type entitype,
00230                const med_geometry_type geotype);
00231 
00232 MEDC_EXPORT med_int
00233 MEDfield23nValueWithProfile(const med_idt fid,
00234                             const char * const fieldname,
00235                             const med_int numdt,
00236                             const med_int numit,
00237                             const med_entity_type entitype,
00238                             const med_geometry_type geotype,
00239                             const char * const meshname,
00240                             const int profileit,
00241                             const med_storage_mode storagemode,
00242                             char * const profilename,
00243                             med_int * const profilesize,
00244                             char * const localizationname,
00245                             med_int * const nintegrationpoint);
00246 
00247 MEDC_EXPORT med_int
00248 MEDfieldnProfile(const med_idt fid,
00249                  const char * const fieldname,
00250                  const med_int numdt,
00251                  const med_int numit,
00252                  const med_entity_type enttype,
00253                  const med_geometry_type geotype,
00254                  char * const defaultprofilename,
00255                  char * const defaultlocalizationname);
00256 
00257 MEDC_EXPORT med_int
00258 MEDfield23nProfile(const med_idt fid,
00259                    const char * const fieldname,
00260                    const med_int numdt,
00261                    const med_int numit,
00262                    const med_entity_type   entitype,
00263                    const med_geometry_type geotype,
00264                    const int    meshit,
00265                    char * const meshname,
00266                    char * const defaultprofilename,
00267                    char * const defaultlocalizationname);
00268 
00269 
00270 MEDC_EXPORT med_err
00271 MEDfieldInterpWr(const med_idt fid,
00272                  const char * const fieldname,
00273                  const char * const interpname);
00274 
00275 MEDC_EXPORT med_int
00276 MEDfieldnInterp(const med_idt fid,
00277                 const char * const fieldname);
00278 
00279 
00280 MEDC_EXPORT med_err
00281 MEDfieldInterpInfo(const med_idt       fid,
00282                    const char *   const fieldname,
00283                    const int           interpit,
00284                          char *   const interpname
00285                    );
00286 
00287 
00288 #ifdef __cplusplus
00289 }
00290 #endif
00291 
00292 #endif /* MED_MEDFIELD_H */
00293 

Généré le Thu Oct 8 14:26:16 2015 pour MED fichier par  doxygen 1.6.1