extern "C"
{
#include "med.h"
- med_err MEDfieldComputingStepInfo(const med_idt fid,
- const char * const fieldname,
- const int csit,
- med_int * const numdt,
- med_int * const numit,
- med_float * const dt);
-
- 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);
-
- 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);
-
- med_err MEDfieldCr( const med_idt fid,
- const char * const fieldname,
- const med_field_type fieldtype,
- const med_int nbofcomponent,
- const char * const componentname,
- const char * const componentunit,
- const char * const dtunit,
- const char * const meshname);
}
#include <string>
MED_PENTA15,
MED_PYRA5,
MED_PYRA13,
- MED_POLYGONE,
- MED_POLYEDRE };
+ MED_POLYGON,
+ MED_POLYHEDRON };
med_geometry_type typmainoeud[1] = { MED_NONE };
MED_SEG3,//2
MED_TRIA3,//3
MED_QUAD4,//4
- MED_POLYGONE,//5
+ MED_POLYGON,//5
MED_TRIA6,//6
MED_NONE,//7
MED_QUAD8,//8
MED_NONE,//28
MED_NONE,//29
MED_HEXA20,//30
- MED_POLYEDRE//31
+ MED_POLYHEDRON//31
};
double MEDLoader::_EPS_FOR_NODE_COMP=1.e-12;
std::vector<int> fam;
std::vector<int> renumber;
int nbOfElt=MEDLoaderNS::buildMEDSubConnectivityOfOneType(conn,connIndex,families,curType,medConn,medConnIndex,medConnIndex2,fam,renumber);
- if(curMedType!=MED_POLYGONE && curMedType!=MED_POLYEDRE)
+ if(curMedType!=MED_POLYGON && curMedType!=MED_POLYHEDRON)
MEDmeshElementConnectivityWr(fid,maa,-1,-1,0.,MED_CELL,curMedType,MED_NODAL,MED_FULL_INTERLACE,nbOfElt,&medConn[0]);
else
{