_fields[i]=MEDFileIntFieldMultiTSWithoutSDA::New(fid,fieldName,meshName,typcha,infos,nbOfStep,dtunit,loadAll,ms,entities);
break;
}
- case MED_FLOAT32:
+ /*case MED_FLOAT32:
{
_fields[i]=MEDFileFloatFieldMultiTSWithoutSDA::New(fid,fieldName,meshName,typcha,infos,nbOfStep,dtunit,loadAll,ms,entities);
break;
- }
+ }*/
case MED_INT:
{
if(sizeof(med_int)==sizeof(int))
ret=MEDFileIntField1TSWithoutSDA::New(fieldName,meshName,-1,-1/*iteration*/,-1/*order*/,std::vector<std::string>());
break;
}
- case MED_FLOAT32:
+#if 0
+ case MED_FLOAT32:
{
ret=MEDFileFloatField1TSWithoutSDA::New(fieldName,meshName,-1,-1/*iteration*/,-1/*order*/,std::vector<std::string>());
break;
}
+#endif
case MED_INT:
{
if(sizeof(med_int)==sizeof(int))
ret=MEDFileIntField1TSWithoutSDA::New(fieldName,meshName,-1,-1/*iteration*/,-1/*order*/,std::vector<std::string>());
break;
}
+#if 0
case MED_FLOAT32:
{
ret=MEDFileFloatField1TSWithoutSDA::New(fieldName,meshName,-1,-1/*iteration*/,-1/*order*/,std::vector<std::string>());
break;
}
+#endif
case MED_INT:
{
if(sizeof(med_int)==sizeof(int))
ret=MEDFileIntField1TSWithoutSDA::New(fieldName,meshName,-1,iteration,order,std::vector<std::string>());
break;
}
+#if 0
case MED_FLOAT32:
{
ret=MEDFileFloatField1TSWithoutSDA::New(fieldName,meshName,-1,iteration,order,std::vector<std::string>());
break;
}
+#endif
case MED_INT:
{
if(sizeof(med_int)==sizeof(int))
{
friend class MEDFileTemplateField1TS<float>;
private:
- med_field_type getMEDFileFieldType() const { return MED_FLOAT32; }
+ med_field_type getMEDFileFieldType() const { return MED_INT32; }
MEDLOADER_EXPORT MEDFileFloatField1TS *shallowCpy() const { return new MEDFileFloatField1TS(*this); }
private:
~MEDFileFloatField1TS() { }
_time_steps[i]=MEDFileIntField1TSWithoutSDA::New(getName(),getMeshName(),i+1,numdt,numo,_infos);
break;
}
+#if 0
case MED_FLOAT32:
{
_time_steps[i]=MEDFileFloatField1TSWithoutSDA::New(getName(),getMeshName(),i+1,numdt,numo,_infos);
break;
}
+#endif
case MED_INT:
{
if(sizeof(med_int)==sizeof(int))
ret=new MEDFileIntFieldMultiTSWithoutSDA(fid,i,loadAll,ms,entities);
break;
}
+#if 0
case MED_FLOAT32:
{
ret=new MEDFileFloatFieldMultiTSWithoutSDA(fid,i,loadAll,ms,entities);
break;
}
+#endif
case MED_INT:
{
if(sizeof(med_int)==sizeof(int))
ret=new MEDFileIntFieldMultiTSWithoutSDA(fid,0,loadAll,ms,0);
break;
}
+#if 0
case MED_FLOAT32:
{
ret=new MEDFileFloatFieldMultiTSWithoutSDA(fid,0,loadAll,ms,0);
break;
}
+#endif
case MED_INT:
{
if(sizeof(med_int)==sizeof(int))
protected:
MEDFileFloatFieldMultiTSWithoutSDA(const std::string& fieldName, const std::string& meshName):MEDFileNDTemplateFieldMultiTSWithoutSDA<float>(fieldName,meshName) { }
MEDFileFloatFieldMultiTSWithoutSDA(med_idt fid, const std::string& fieldName, const std::string& meshName, med_field_type fieldTyp, const std::vector<std::string>& infos, int nbOfStep, const std::string& dtunit, bool loadAll, const MEDFileMeshes *ms, const MEDFileEntities *entities):MEDFileNDTemplateFieldMultiTSWithoutSDA<float>(fid,fieldName,meshName,fieldTyp,infos,nbOfStep,dtunit,loadAll,ms,entities) { }
- med_field_type getMEDFileFieldType() const { return MED_FLOAT32; }
+ med_field_type getMEDFileFieldType() const { return MED_INT32; }
public:
MEDLOADER_EXPORT MEDFileFloatFieldMultiTSWithoutSDA() { }
};
#include <algorithm>
-med_geometry_type typmai[MED_N_CELL_FIXED_GEO] = { MED_POINT1,
+med_geometry_type typmai[MED_N_CELL_FIXED_GEO+1] = { MED_POINT1,
MED_SEG2,
MED_SEG3,
MED_SEG4,
MED_TETRA10,
MED_PYRA13,
MED_PENTA15,
- MED_PENTA18,
+ MED_PENTA15,
MED_HEXA20,
MED_HEXA27,
MED_POLYGON,
med_geometry_type typmainoeud[1] = { MED_NONE };
-INTERP_KERNEL::NormalizedCellType typmai2[MED_N_CELL_FIXED_GEO] = { INTERP_KERNEL::NORM_POINT1,
+INTERP_KERNEL::NormalizedCellType typmai2[MED_N_CELL_FIXED_GEO+1] = { INTERP_KERNEL::NORM_POINT1,
INTERP_KERNEL::NORM_SEG2,
INTERP_KERNEL::NORM_SEG3,
INTERP_KERNEL::NORM_SEG4,
INTERP_KERNEL::NORM_TETRA10,
INTERP_KERNEL::NORM_PYRA13,
INTERP_KERNEL::NORM_PENTA15,
- INTERP_KERNEL::NORM_PENTA18,
+ INTERP_KERNEL::NORM_PENTA15,
INTERP_KERNEL::NORM_HEXA20,
INTERP_KERNEL::NORM_HEXA27,
INTERP_KERNEL::NORM_POLYGON,
MED_PENTA15,//25
MED_NONE,//26
MED_HEXA27,//27
- MED_PENTA18,//28
+ MED_PENTA15,//28
MED_NONE,//29
MED_HEXA20,//30
MED_POLYHEDRON,//31