medmesh.h
Aller à la documentation de ce fichier.
/* This file is part of MED.
*
* COPYRIGHT (C) 1999 - 2020 EDF R&D, CEA/DEN
* MED is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MED is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with MED. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MED_MEDMESH_H
#define MED_MEDMESH_H
#include "medC_win_dll.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Interface de l'API MED */
MEDC_EXPORT med_err
MEDmeshCr(const med_idt fid,
const char * const meshname, const med_int spacedim,
const med_int meshdim, const med_mesh_type meshtype,
const char * const description, const char * const dtunit,
const med_sorting_type sortingtype,
const med_axis_type axistype, const char * const axisname,
const char * const axisunit);
MEDC_EXPORT med_err
MEDmeshInfoByName(const med_idt fid,const char * const meshname,
med_int * const spacedim, med_int * const meshdim, med_mesh_type * const meshtype,
char * const description, char * const dtunit,
med_sorting_type * const sortingtype,
med_int * const nstep, med_axis_type * const axistype, char * const axisname,
char * const axisunit);
MEDC_EXPORT med_err
MEDmeshInfo(const med_idt fid,
const int meshit,
char * const meshname,
med_int * const spacedim,
med_int * const meshdim,
med_mesh_type * const meshtype,
char * const description,
char * const dtunit,
med_sorting_type * const sortingtype,
med_int * const nstep,
med_axis_type * const axistype,
char * const axisname,
char * const axisunit);
MEDC_EXPORT med_int
MEDnMesh(const med_idt fid);
MEDC_EXPORT med_int
MEDmeshnAxis(const med_idt fid, const int meshit);
MEDC_EXPORT med_int
MEDmeshnAxisByName(const med_idt fid, const char * const meshname);
MEDC_EXPORT med_err
MEDmeshGridTypeWr(const med_idt fid,const char * const meshname, const med_grid_type gridtype);
MEDC_EXPORT med_err
MEDmeshGridTypeRd(const med_idt fid,const char * const meshname, med_grid_type * const gridtype);
MEDC_EXPORT med_err
MEDmeshGridIndexCoordinateWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_int axis,
const med_int indexsize,
const med_float * const gridindex);
MEDC_EXPORT med_err
MEDmeshGridIndexCoordinateRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_int axis,
med_float * const gridindex);
MEDC_EXPORT med_err
MEDmeshGridStructWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_int * const gridstruct);
MEDC_EXPORT med_err
MEDmeshGridStructRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
med_int * const gridstruct);
MEDC_EXPORT med_err
MEDmeshUniversalNameWr(const med_idt fid, const char * const meshname);
MEDC_EXPORT med_err
MEDmeshUniversalNameRd(const med_idt fid, const char * const meshname,char * const univname);
MEDC_EXPORT med_err
MEDmeshComputationStepCr(const med_idt fid,const char * const meshname,
const med_int numdt1, const med_int numit1,
const med_int numdt2, const med_int numit2,
const med_float dt2 );
MEDC_EXPORT med_err
MEDmeshAttributeRd(const med_idt fid,
const char * const meshname,
med_int * const isolatednodes,
med_int * const verticesnodes,
med_int * const cellmaxnodes);
MEDC_EXPORT med_err
MEDmeshAttributeWr(const med_idt fid, const char * const meshname,
const med_int isolatednodes,const med_int verticesnodes,const med_int cellmaxnodes);
MEDC_EXPORT med_err
MEDmeshComputationStepDtRd(const med_idt fid,const char * const meshname,
const med_int numdt, const med_int umit, med_float * const dt );
MEDC_EXPORT med_err
MEDmeshComputationStepInfo(const med_idt fid,
const char * const meshname,
const int csit,
med_int * const numdt,
med_int * const numit,
med_float * const dt );
MEDC_EXPORT med_err
MEDmeshSortingTypeRd(const med_idt fid,
const char* const meshname,
med_sorting_type * const sortingtype );
MEDC_EXPORT med_err
MEDmeshNodeCoordinateAdvancedWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_filter * const filter,
const med_float* const value);
MEDC_EXPORT med_err
MEDmeshNodeCoordinateWithProfileWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_storage_mode storagemode,
const char * const profilename,
const med_switch_mode switchmode,
const med_int dimselect,
const med_int nentity,
const med_float* const coordinates);
MEDC_EXPORT med_err
MEDmeshNodeCoordinateWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_switch_mode switchmode,
const med_int nentity,
const med_float* const coordinates);
MEDC_EXPORT med_err
MEDmeshNodeCoordinateTrsfWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_float* const coordinatetrsf);
MEDC_EXPORT med_err
MEDmeshNodeCoordinateTrsfRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float* const coordinatetrsf);
MEDC_EXPORT med_err
MEDmeshElementConnectivityWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_switch_mode switchmode,
const med_int nentity,
const med_int* const connectivity);
MEDC_EXPORT med_err
MEDmeshElementConnectivityAdvancedWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_filter * const filter,
const med_int* const connectivity);
MEDC_EXPORT med_err
MEDmeshElementConnectivityWithProfileWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_storage_mode storagemode,
const char * const profilename,
const med_switch_mode switchmode,
const med_int dimselect,
const med_int nentity,
const med_int* const connectivity);
MEDC_EXPORT med_err
MEDmeshNodeCoordinateAdvancedRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_filter * const filter,
med_float* const value);
MEDC_EXPORT med_err
MEDmeshNodeCoordinateWithProfileRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_storage_mode storagemode,
const char * const profilename,
const med_switch_mode switchmode,
const med_int dimselect,
med_float* const coordinates);
MEDC_EXPORT med_err
MEDmeshNodeCoordinateRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_switch_mode switchmode,
med_float* const coordinates);
MEDC_EXPORT med_err
MEDmeshElementConnectivityRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_switch_mode switchmode,
med_int* const connectivity);
MEDC_EXPORT med_err
MEDmeshElementConnectivityAdvancedRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_filter * const filter,
med_int* const connectivity);
MEDC_EXPORT med_err
MEDmeshElementConnectivityWithProfileRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_storage_mode storagemode,
const char * const profilename,
const med_switch_mode switchmode,
const med_int dimselect,
const med_int nentity,
med_int* const connectivity);
/*Cr~er une version sans aucun param~tre concernant les s~quences de calcul*/
MEDC_EXPORT med_int
MEDmeshnEntity(const med_idt fid,
const char * const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_data_type datatype,
const med_connectivity_mode cmode,
med_bool * const changement,
med_bool * const transformation );
MEDC_EXPORT med_int
MEDmeshnEntityWithProfile(const med_idt fid,
const char * const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_data_type datatype,
const med_connectivity_mode cmode,
const med_storage_mode storagemode,
char * const profilename,
med_int * const profilesize,
med_bool * const changement,
med_bool * const transformation );
MEDC_EXPORT med_err
MEDmeshEntityInfo(const med_idt fid,
const char * const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const int geotypeit,
char * const geotypename,
med_geometry_type * const geotype
);
MEDC_EXPORT med_err
MEDmeshEntityNameWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_int nentity,
const char* const name);
MEDC_EXPORT med_err
MEDmeshEntityNameRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
char* const name);
MEDC_EXPORT med_err
MEDmeshEntityNumberWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_int nentity,
const med_int * const number);
MEDC_EXPORT med_err
MEDmeshEntityNumberRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
med_int * const number);
MEDC_EXPORT med_err
MEDmeshEntityFamilyNumberWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_int nentity,
const med_int * const number);
MEDC_EXPORT med_err
MEDmeshEntityFamilyNumberRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
med_int * const number);
MEDC_EXPORT med_err
MEDmeshEntityAttributeAdvancedRd(const med_idt fid,
const char* const meshname,
const med_data_type datatype,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_filter * const filter,
void * const attval);
MEDC_EXPORT med_err
MEDmeshEntityAttributeAdvancedWr(const med_idt fid,
const char* const meshname,
const med_data_type datatype,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_filter * const filter,
const void * const attval);
MEDC_EXPORT med_err
MEDmeshPolygonWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_entity_type entitype,
const med_connectivity_mode cmode,
const med_int indexsize,
const med_int * const polyindex,
const med_int * const connectivity );
MEDC_EXPORT med_err
MEDmeshPolygon2Wr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_entity_type entitype,
const med_geometry_type polytype,
const med_connectivity_mode cmode,
const med_int indexsize,
const med_int * const polyindex,
const med_int * const connectivity );
MEDC_EXPORT med_err
MEDmeshPolygonRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_connectivity_mode cmode,
med_int * const polyindex,
med_int * const connectivity );
MEDC_EXPORT med_err
MEDmeshPolygon2Rd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type polytype,
const med_connectivity_mode cmode,
med_int * const polyindex,
med_int * const connectivity );
MEDC_EXPORT med_err
MEDmeshPolyhedronRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_connectivity_mode cmode,
med_int * const faceindex,
med_int * const nodeindex,
med_int * const connectivity );
MEDC_EXPORT med_err
MEDmeshPolyhedronWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_entity_type entitype,
const med_connectivity_mode cmode,
const med_int faceindexsize,
const med_int * const faceindex,
const med_int nodeindexsize,
const med_int * const nodeindex,
const med_int * const connectivity );
MEDC_EXPORT med_err
MEDmeshGeotypeName(const med_idt fid,
const med_geometry_type geotype,
char * const geotypename);
MEDC_EXPORT med_err
MEDmeshGeotypeParameter(const med_idt fid,
const med_geometry_type geotype,
med_int * const geodim,
med_int * const nnodes);
MEDC_EXPORT
med_err MEDmeshGlobalNumberWr(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitytype,
const med_geometry_type geotype,
const med_int nentity,
const med_int * const number);
MEDC_EXPORT
med_err MEDmeshGlobalNumberRd(const med_idt fid,
const char* const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitytype,
const med_geometry_type geotype,
med_int * const number);
/* Routines de niveau intermediaire */
MEDC_EXPORT
med_err MEDmeshNodeWr(const med_idt fid,
const char * const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_switch_mode switchmode,
const med_int nentity,
const med_float * const coordinate,
const med_bool withnodename,
const char * const nodename,
const med_bool withnodenumber,
const med_int * const nodenumber,
const med_bool withfamnumber,
const med_int * const famnumber);
MEDC_EXPORT
med_err MEDmeshNodeRd(const med_idt fid,
const char * const meshname,
const med_int numdt,
const med_int numit,
const med_switch_mode switchmode,
med_float * const coordinate,
med_bool * const withnodename,
char * const nodename,
med_bool * const withnodenumber,
med_int * const nodenumber,
med_bool * const withfamnumber,
med_int * const famnumber);
MEDC_EXPORT
med_err MEDmeshElementWr(const med_idt fid,
const char * const meshname,
const med_int numdt,
const med_int numit,
const med_float dt,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_switch_mode switchmode,
const med_int nentity,
const med_int * const connectivity,
const med_bool withelementname,
const char * const elementname,
const med_bool withelementnumber,
const med_int * const elementnumber,
const med_bool withfamnumber,
const med_int * const famnumber);
MEDC_EXPORT
med_err MEDmeshElementRd(const med_idt fid,
const char * const meshname,
const med_int numdt,
const med_int numit,
const med_entity_type entitype,
const med_geometry_type geotype,
const med_connectivity_mode cmode,
const med_switch_mode switchmode,
med_int * const connectivity,
med_bool * const withelementname,
char * const elementname,
med_bool * const withelementnumber,
med_int * const elementnumber,
med_bool * const withfamnumber,
med_int * const famnumber);
/* Maillages support aux modèles d'éléments de structure */
MEDC_EXPORT med_err
MEDsupportMeshCr(const med_idt fid,
const char* const supportmeshname,
const med_int spacedim,
const med_int meshdim,
const char* const description,
const med_axis_type axistype,
const char* const axisname,
const char* const axisunit
);
MEDC_EXPORT med_err
MEDsupportMeshInfoByName(const med_idt fid,
const char * const supportmeshname,
med_int * const spacedim,
med_int * const meshdim,
char * const description,
med_axis_type * const axistype,
char * const axisname,
char * const axisunit);
MEDC_EXPORT med_err
MEDsupportMeshInfo(const med_idt fid,
const int meshit,
char * const supportmeshname,
med_int * const spacedim,
med_int * const meshdim,
char * const description,
med_axis_type * const axistype,
char * const axisname,
char * const axisunit);
MEDC_EXPORT med_int
MEDnSupportMesh(const med_idt fid);
MEDC_EXPORT med_int
MEDsupportMeshnAxis(const med_idt fid, const int meshit);
MEDC_EXPORT med_int
MEDsupportMeshnAxisByName(const med_idt fid, const char * const meshname);
#ifdef __cplusplus
}
#endif
#endif /* MED_MEDMESH_H */
MEDmeshElementConnectivityRd
MEDC_EXPORT med_err MEDmeshElementConnectivityRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_switch_mode switchmode, med_int *const connectivity)
Cette routine permet de lire dans un maillage le tableau des connectivités pour un type géométrique d...
Definition MEDmeshElementConnectivityRd.c:40
MEDmeshNodeCoordinateWithProfileRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateWithProfileRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, med_float *const coordinates)
Cette routine permet de lire dans un maillage le tableau des coordonnées des noeuds,...
Definition MEDmeshNodeCoordinateWithProfileRd.c:40
MEDmeshElementConnectivityWr
MEDC_EXPORT med_err MEDmeshElementConnectivityWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_switch_mode switchmode, const med_int nentity, const med_int *const connectivity)
Cette routine permet d'écrire dans un maillage le tableau des connectivités pour un type géométrique ...
Definition MEDmeshElementConnectivityWr.c:42
MEDmeshNodeCoordinateTrsfWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateTrsfWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_float *const coordinatetrsf)
Cette routine définit les paramètres de translation rotation à appliquer aux noeuds de l'étape de cal...
Definition MEDmeshNodeCoordinateTrsfWr.c:41
MEDmeshEntityAttributeAdvancedRd
MEDC_EXPORT med_err MEDmeshEntityAttributeAdvancedRd(const med_idt fid, const char *const meshname, const med_data_type datatype, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_filter *const filter, void *const attval)
Cette routine permet de lire les attributs optionnels d'entités d'un maillage en utilisant un filtre.
Definition MEDmeshEntityAttributeAdvancedRd.c:42
MEDnMesh
MEDC_EXPORT med_int MEDnMesh(const med_idt fid)
Cette routine permet de lire le nombre de maillages dans un fichier.
Definition MEDnMesh.c:34
MEDmeshPolyhedronWr
MEDC_EXPORT med_err MEDmeshPolyhedronWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_connectivity_mode cmode, const med_int faceindexsize, const med_int *const faceindex, const med_int nodeindexsize, const med_int *const nodeindex, const med_int *const connectivity)
Cette routine permet l'écriture dans un maillage des connectivités de polyèdres.
Definition MEDmeshPolyhedronWr.c:47
MEDmeshnEntityWithProfile
MEDC_EXPORT med_int MEDmeshnEntityWithProfile(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_data_type datatype, const med_connectivity_mode cmode, const med_storage_mode storagemode, char *const profilename, med_int *const profilesize, med_bool *const changement, med_bool *const transformation)
Cette routine permet de lire le nombre d'entités dans un maillage pour une étape de calcul et un prof...
Definition MEDmeshnEntityWithProfile.c:47
MEDmeshEntityInfo
MEDC_EXPORT med_err MEDmeshEntityInfo(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const int geotypeit, char *const geotypename, med_geometry_type *const geotype)
Cette routine indique de façon itérative les types géométriques disponibles dans un maillage.
Definition MEDmeshEntityInfo.c:41
MEDmeshGridTypeWr
MEDC_EXPORT med_err MEDmeshGridTypeWr(const med_idt fid, const char *const meshname, const med_grid_type gridtype)
Cette routine permet de définir le type d'un maillage structuré (MED_STRUCTURED_MESH).
Definition MEDmeshGridTypeWr.c:37
MEDmeshNodeCoordinateRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_switch_mode switchmode, med_float *const coordinates)
Cette routine permet de lire dans un maillage le tableau des coordonnées des noeuds,...
Definition MEDmeshNodeCoordinateRd.c:37
MEDmeshPolyhedronRd
MEDC_EXPORT med_err MEDmeshPolyhedronRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_connectivity_mode cmode, med_int *const faceindex, med_int *const nodeindex, med_int *const connectivity)
Cette routine permet la lecture dans un maillage des connectivités de polyèdres.
Definition MEDmeshPolyhedronRd.c:45
MEDmeshEntityNameWr
MEDC_EXPORT med_err MEDmeshEntityNameWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_int nentity, const char *const name)
Cette routine permet d'écrire les noms d'un type d'entité d'un maillage.
Definition MEDmeshEntityNameWr.c:39
MEDmeshElementConnectivityWithProfileRd
MEDC_EXPORT med_err MEDmeshElementConnectivityWithProfileRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, const med_int nentity, med_int *const connectivity)
Cette routine permet de lire dans un maillage le tableau des connectivités pour un type géométrique d...
Definition MEDmeshElementConnectivityWithProfileRd.c:44
MEDmeshComputationStepInfo
MEDC_EXPORT med_err MEDmeshComputationStepInfo(const med_idt fid, const char *const meshname, const int csit, med_int *const numdt, med_int *const numit, med_float *const dt)
Cette routine permet de lire les informations relatives à une étape de calcul d'un maillage.
Definition MEDmeshComputationStepInfo.c:38
MEDmeshPolygon2Rd
MEDC_EXPORT med_err MEDmeshPolygon2Rd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type polytype, const med_connectivity_mode cmode, med_int *const polyindex, med_int *const connectivity)
Cette routine permet la lecture des connectivités de polygones.
Definition MEDmeshPolygon2Rd.c:44
MEDmeshnEntity
MEDC_EXPORT med_int MEDmeshnEntity(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_data_type datatype, const med_connectivity_mode cmode, med_bool *const changement, med_bool *const transformation)
Cette routine permet de lire le nombre d'entités dans un maillage pour une étape de calcul donnée.
Definition MEDmeshnEntity.c:44
MEDmeshPolygonRd
MEDC_EXPORT med_err MEDmeshPolygonRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_connectivity_mode cmode, med_int *const polyindex, med_int *const connectivity)
Cette routine permet la lecture des connectivités de polygones.
Definition MEDmeshPolygonRd.c:44
MEDmeshGridStructRd
MEDC_EXPORT med_err MEDmeshGridStructRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, med_int *const gridstruct)
Cette routine permet la lecture de la structure (nombre de points sur chaque axe du repère) d'un mail...
Definition MEDmeshGridStructRd.c:40
MEDmeshEntityNameRd
MEDC_EXPORT med_err MEDmeshEntityNameRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, char *const name)
Cette routine permet de lire les noms d'un type d'entité d'un maillage.
Definition MEDmeshEntityNameRd.c:38
MEDmeshNodeRd
MEDC_EXPORT med_err MEDmeshNodeRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_switch_mode switchmode, med_float *const coordinate, med_bool *const withnodename, char *const nodename, med_bool *const withnodenumber, med_int *const nodenumber, med_bool *const withfamnumber, med_int *const famnumber)
Cette routine permet la lecture des noeuds d'un maillage non structuré pour une étape de calcul donné...
Definition MEDmeshNodeRd.c:43
MEDmeshCr
MEDC_EXPORT med_err MEDmeshCr(const med_idt fid, const char *const meshname, const med_int spacedim, const med_int meshdim, const med_mesh_type meshtype, const char *const description, const char *const dtunit, const med_sorting_type sortingtype, const med_axis_type axistype, const char *const axisname, const char *const axisunit)
Cette routine permet de créer un maillage dans un fichier.
Definition MEDmeshCr.c:45
MEDmeshInfo
MEDC_EXPORT med_err MEDmeshInfo(const med_idt fid, const int meshit, char *const meshname, med_int *const spacedim, med_int *const meshdim, med_mesh_type *const meshtype, char *const description, char *const dtunit, med_sorting_type *const sortingtype, med_int *const nstep, med_axis_type *const axistype, char *const axisname, char *const axisunit)
Cette routine permet de lire les informations relatives à un maillage dans un fichier.
Definition MEDmeshInfo.c:43
MEDmeshGlobalNumberWr
MEDC_EXPORT med_err MEDmeshGlobalNumberWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitytype, const med_geometry_type geotype, const med_int nentity, const med_int *const number)
Cette routine permet l'écriture d'une numérotation globale sur un maillage pour un type d'entité,...
Definition MEDmeshGlobalNumberWr.c:41
MEDmeshEntityNumberWr
MEDC_EXPORT med_err MEDmeshEntityNumberWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_int nentity, const med_int *const number)
Cette routine permet d'écrire les numéros d'un type d'entité d'un maillage.
Definition MEDmeshEntityNumberWr.c:39
MEDmeshSortingTypeRd
MEDC_EXPORT med_err MEDmeshSortingTypeRd(const med_idt fid, const char *const meshname, med_sorting_type *const sortingtype)
Cette routine lit l'ordre de tri des étapes évolutives du maillage.
Definition MEDmeshSortingTypeRd.c:35
MEDmeshGridIndexCoordinateWr
MEDC_EXPORT med_err MEDmeshGridIndexCoordinateWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_int axis, const med_int indexsize, const med_float *const gridindex)
Cette routine permet l'écriture des coordonnées des noeuds d'un maillage structuré selon un axe du re...
Definition MEDmeshGridIndexCoordinateWr.c:43
MEDmeshNodeCoordinateTrsfRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateTrsfRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float *const coordinatetrsf)
Cette routine lit les paramètres de translation rotation à appliquer aux noeuds de l'étape de calcul ...
Definition MEDmeshNodeCoordinateTrsfRd.c:40
MEDmeshEntityFamilyNumberRd
MEDC_EXPORT med_err MEDmeshEntityFamilyNumberRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, med_int *const number)
Cette routine permet la lecture des numéros de famille d'un type d'entité d'un maillage.
Definition MEDmeshEntityFamilyNumberRd.c:39
MEDmeshGridStructWr
MEDC_EXPORT med_err MEDmeshGridStructWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_int *const gridstruct)
Cette routine définit la structure (nombre de points sur chaque axe du repère) d'un maillage structur...
Definition MEDmeshGridStructWr.c:41
MEDmeshElementRd
MEDC_EXPORT med_err MEDmeshElementRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_switch_mode switchmode, med_int *const connectivity, med_bool *const withelementname, char *const elementname, med_bool *const withelementnumber, med_int *const elementnumber, med_bool *const withfamnumber, med_int *const famnumber)
Cette routine permet la lecture d'un type d'élément d'un maillage non structuré pour une étape de cal...
Definition MEDmeshElementRd.c:47
MEDmeshEntityNumberRd
MEDC_EXPORT med_err MEDmeshEntityNumberRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, med_int *const number)
Cette routine permet de lire les numéros d'un type d'entité d'un maillage.
Definition MEDmeshEntityNumberRd.c:38
MEDmeshNodeCoordinateWithProfileWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateWithProfileWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, const med_int nentity, const med_float *const coordinates)
Cette routine permet d'écrire dans un maillage le tableau des coordonnées des noeuds,...
Definition MEDmeshNodeCoordinateWithProfileWr.c:46
MEDmeshElementWr
MEDC_EXPORT med_err MEDmeshElementWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_switch_mode switchmode, const med_int nentity, const med_int *const connectivity, const med_bool withelementname, const char *const elementname, const med_bool withelementnumber, const med_int *const elementnumber, const med_bool withfamnumber, const med_int *const famnumber)
Cette routine permet l'écriture d'un type d'élément d'un maillage non structuré pour une étape de cal...
Definition MEDmeshElementWr.c:48
MEDmeshGridIndexCoordinateRd
MEDC_EXPORT med_err MEDmeshGridIndexCoordinateRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_int axis, med_float *const gridindex)
Cette routine permet la lecture des coordonnées des noeuds d'un maillage structuré selon un axe du re...
Definition MEDmeshGridIndexCoordinateRd.c:39
MEDmeshGeotypeParameter
MEDC_EXPORT med_err MEDmeshGeotypeParameter(const med_idt fid, const med_geometry_type geotype, med_int *const geodim, med_int *const nnodes)
Cette routine renvoie les caractéristiques d'un type géométrique de maille.
Definition MEDmeshGeotypeParameter.c:34
MEDmeshGlobalNumberRd
MEDC_EXPORT med_err MEDmeshGlobalNumberRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitytype, const med_geometry_type geotype, med_int *const number)
Cette routine permet la lecture d'une numérotation globale sur un maillage pour un type d'entité,...
Definition MEDmeshGlobalNumberRd.c:40
MEDmeshNodeCoordinateWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_switch_mode switchmode, const med_int nentity, const med_float *const coordinates)
Cette routine permet d'écrire dans un maillage le tableau des coordonnées des noeuds,...
Definition MEDmeshNodeCoordinateWr.c:45
MEDmeshGridTypeRd
MEDC_EXPORT med_err MEDmeshGridTypeRd(const med_idt fid, const char *const meshname, med_grid_type *const gridtype)
Cette routine permet de lire le type d'un maillage structuré (MED_STRUCTURED_MESH).
Definition MEDmeshGridTypeRd.c:36
MEDmeshEntityFamilyNumberWr
MEDC_EXPORT med_err MEDmeshEntityFamilyNumberWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_int nentity, const med_int *const number)
Cette routine permet l'écriture des numéros de famille d'un type d'entité d'un maillage.
Definition MEDmeshEntityFamilyNumberWr.c:39
MEDmeshPolygon2Wr
MEDC_EXPORT med_err MEDmeshPolygon2Wr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_geometry_type polytype, const med_connectivity_mode cmode, const med_int indexsize, const med_int *const polyindex, const med_int *const connectivity)
Cette routine permet l'écriture des connectivités de polygones.
Definition MEDmeshPolygon2Wr.c:46
MEDmeshElementConnectivityAdvancedWr
MEDC_EXPORT med_err MEDmeshElementConnectivityAdvancedWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_filter *const filter, const med_int *const connectivity)
Cette routine permet d'écrire dans un maillage le tableau des connectivités pour un type géométrique ...
Definition MEDmeshElementConnectivityAdvancedWr.c:41
MEDmeshNodeWr
MEDC_EXPORT med_err MEDmeshNodeWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_switch_mode switchmode, const med_int nentity, const med_float *const coordinate, const med_bool withnodename, const char *const nodename, const med_bool withnodenumber, const med_int *const nodenumber, const med_bool withfamnumber, const med_int *const famnumber)
Cette routine permet l'écriture des noeuds d'un maillage non structuré pour une étape de calcul donné...
Definition MEDmeshNodeWr.c:45
MEDmeshGeotypeName
MEDC_EXPORT med_err MEDmeshGeotypeName(const med_idt fid, const med_geometry_type geotype, char *const geotypename)
Cette routine renvoie le nom associé à un type géométrique.
Definition MEDmeshGeotypeName.c:35
MEDmeshUniversalNameWr
MEDC_EXPORT med_err MEDmeshUniversalNameWr(const med_idt fid, const char *const meshname)
Cette routine permet l'écriture du nom universel d'un maillage.
Definition MEDmeshUniversalNameWr.c:68
MEDmeshAttributeRd
MEDC_EXPORT med_err MEDmeshAttributeRd(const med_idt fid, const char *const meshname, med_int *const isolatednodes, med_int *const verticesnodes, med_int *const cellmaxnodes)
Cette routine permet la lecture des attributs optionnels d'un maillage.
Definition MEDmeshAttributeRd.c:36
MEDmeshnAxis
MEDC_EXPORT med_int MEDmeshnAxis(const med_idt fid, const int meshit)
Cette routine permet de lire dans un maillage le nombre d'axes du repère des coordonnées des noeuds.
Definition MEDmeshnAxis.c:35
MEDmeshPolygonWr
MEDC_EXPORT med_err MEDmeshPolygonWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_connectivity_mode cmode, const med_int indexsize, const med_int *const polyindex, const med_int *const connectivity)
Cette routine permet l'écriture des connectivités de polygones.
Definition MEDmeshPolygonWr.c:45
MEDmeshUniversalNameRd
MEDC_EXPORT med_err MEDmeshUniversalNameRd(const med_idt fid, const char *const meshname, char *const univname)
Cette routine permet la lecture du nom universel d'un maillage.
Definition MEDmeshUniversalNameRd.c:38
MEDmeshElementConnectivityWithProfileWr
MEDC_EXPORT med_err MEDmeshElementConnectivityWithProfileWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_storage_mode storagemode, const char *const profilename, const med_switch_mode switchmode, const med_int dimselect, const med_int nentity, const med_int *const connectivity)
Cette routine permet d'écrire dans un maillage le tableau des connectivités pour un type géométrique ...
Definition MEDmeshElementConnectivityWithProfileWr.c:45
MEDmeshComputationStepCr
MEDC_EXPORT med_err MEDmeshComputationStepCr(const med_idt fid, const char *const meshname, const med_int numdt1, const med_int numit1, const med_int numdt2, const med_int numit2, const med_float dt2)
Cette routine permet de créer une nouvelle étape de calcul dans un maillage.
Definition MEDmeshComputationStepCr.c:40
MEDmeshElementConnectivityAdvancedRd
MEDC_EXPORT med_err MEDmeshElementConnectivityAdvancedRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_connectivity_mode cmode, const med_filter *const filter, med_int *const connectivity)
Cette routine permet de lire dans un maillage le tableau des connectivités pour un type géométrique d...
Definition MEDmeshElementConnectivityAdvancedRd.c:40
MEDmeshNodeCoordinateAdvancedWr
MEDC_EXPORT med_err MEDmeshNodeCoordinateAdvancedWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_filter *const filter, const med_float *const value)
Cette routine permet d'écrire dans un maillage le tableau des coordonnées des noeuds,...
Definition MEDmeshNodeCoordinateAdvancedWr.c:42
MEDmeshNodeCoordinateAdvancedRd
MEDC_EXPORT med_err MEDmeshNodeCoordinateAdvancedRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_filter *const filter, med_float *const value)
Cette routine permet de lire dans un maillage le tableau des coordonnées des noeuds,...
Definition MEDmeshNodeCoordinateAdvancedRd.c:37
MEDmeshInfoByName
MEDC_EXPORT med_err MEDmeshInfoByName(const med_idt fid, const char *const meshname, med_int *const spacedim, med_int *const meshdim, med_mesh_type *const meshtype, char *const description, char *const dtunit, med_sorting_type *const sortingtype, med_int *const nstep, med_axis_type *const axistype, char *const axisname, char *const axisunit)
Cette routine permet de lire les informations relatives à un maillage en précisant son nom.
Definition MEDmeshInfoByName.c:42
MEDmeshnAxisByName
MEDC_EXPORT med_int MEDmeshnAxisByName(const med_idt fid, const char *const meshname)
Cette routine permet de lire dans un maillage le nombre d'axes du repère des coordonnées des noeuds a...
Definition MEDmeshnAxisByName.c:35
MEDmeshAttributeWr
MEDC_EXPORT med_err MEDmeshAttributeWr(const med_idt fid, const char *const meshname, const med_int isolatednodes, const med_int verticesnodes, const med_int cellmaxnodes)
Cette routine permet l'écriture des attributs optionnels d'un maillage.
Definition MEDmeshAttributeWr.c:35
MEDmeshEntityAttributeAdvancedWr
MEDC_EXPORT med_err MEDmeshEntityAttributeAdvancedWr(const med_idt fid, const char *const meshname, const med_data_type datatype, const med_int numdt, const med_int numit, const med_entity_type entitype, const med_geometry_type geotype, const med_filter *const filter, const void *const attval)
Cette routine permet d'écrire les attributs optionnels d'entités d'un maillage en utilisant un filtre...
Definition MEDmeshEntityAttributeAdvancedWr.c:42
MEDnSupportMesh
MEDC_EXPORT med_int MEDnSupportMesh(const med_idt fid)
Cette routine permet de lire le nombre de maillages support dans un fichier.
Definition MEDnSupportMesh.c:34
MEDsupportMeshInfo
MEDC_EXPORT med_err MEDsupportMeshInfo(const med_idt fid, const int meshit, char *const supportmeshname, med_int *const spacedim, med_int *const meshdim, char *const description, med_axis_type *const axistype, char *const axisname, char *const axisunit)
Cette routine permet de lire les informations relatives à un maillage support dans un fichier.
Definition MEDsupportMeshInfo.c:39
MEDsupportMeshInfoByName
MEDC_EXPORT med_err MEDsupportMeshInfoByName(const med_idt fid, const char *const supportmeshname, med_int *const spacedim, med_int *const meshdim, char *const description, med_axis_type *const axistype, char *const axisname, char *const axisunit)
Cette routine permet de lire les informations relatives à un maillage support en précisant son nom.
Definition MEDsupportMeshInfoByName.c:39
MEDsupportMeshnAxisByName
MEDC_EXPORT med_int MEDsupportMeshnAxisByName(const med_idt fid, const char *const meshname)
Cette routine permet de lire dans un maillage support le nombre d'axes du repère des coordonnées des ...
Definition MEDsupportMeshnAxisByName.c:35
MEDsupportMeshCr
MEDC_EXPORT med_err MEDsupportMeshCr(const med_idt fid, const char *const supportmeshname, const med_int spacedim, const med_int meshdim, const char *const description, const med_axis_type axistype, const char *const axisname, const char *const axisunit)
Cette routine permet de créer un maillage support.
Definition MEDsupportMeshCr.c:46
MEDsupportMeshnAxis
MEDC_EXPORT med_int MEDsupportMeshnAxis(const med_idt fid, const int meshit)
Cette routine permet de lire dans un maillage support le nombre d'axes du repère des coordonnées des ...
Definition MEDsupportMeshnAxis.c:35
MEDC_EXPORT
#define MEDC_EXPORT
Definition medC_win_dll.h:29
medC_win_dll.h
med_switch_mode
med_switch_mode
Definition med.h:96
med_geometry_type
int med_geometry_type
Definition med.h:194
med_bool
med_bool
Definition med.h:260
med_data_type
med_data_type
Definition med.h:149
med_storage_mode
med_storage_mode
Definition med.h:108
med_grid_type
med_grid_type
Definition med.h:137
med_axis_type
med_axis_type
Definition med.h:258
med_sorting_type
med_sorting_type
Definition med.h:300
med_mesh_type
med_mesh_type
Definition med.h:131
med_int
int med_int
Definition med.h:333
med_entity_type
med_entity_type
Definition med.h:143
med_float
double med_float
Definition med.h:327
med_err
herr_t med_err
Definition med.h:323
med_idt
hid_t med_idt
Definition med.h:322
med_connectivity_mode
med_connectivity_mode
Definition med.h:255
MEDmeshComputationStepDtRd
MEDC_EXPORT med_err MEDmeshComputationStepDtRd(const med_idt fid, const char *const meshname, const med_int numdt, const med_int umit, med_float *const dt)
Definition MEDmeshComputationStepDtRd.c:27
med_filter
Filtre de sélection.
Definition med.h:346