using MEDCoupling::MEDFileFields;
using MEDCoupling::MEDFileMeshes;
-using MEDCoupling::MEDFileIntField1TS;
+using MEDCoupling::MEDFileInt32Field1TS;
+using MEDCoupling::MEDFileInt64Field1TS;
using MEDCoupling::MEDFileField1TS;
using MEDCoupling::MEDFileIntFieldMultiTS;
using MEDCoupling::MEDFileFieldMultiTS;
MCAuto<DataArrayIdType> daId(MEDCoupling::DynamicCast<DataArray,DataArrayIdType>(da));
if(dai.isNotNull() || daId.isNotNull())
{
- std::string fieldName(dai->getName());
+ std::string fieldName(da->getName());
if((fieldName!=FAMFIELD_FOR_CELLS || tf!=MEDCoupling::ON_CELLS) && (fieldName!=FAMFIELD_FOR_NODES || tf!=MEDCoupling::ON_NODES))
{
if(!dai)
MCAuto<MEDFileAnyTypeField1TS> f1ts((operator->())->getTimeStepAtPos(tr->getCurrent()));
MEDFileAnyTypeField1TS *f1tsPtr(f1ts);
MEDFileField1TS *f1tsPtrDbl(dynamic_cast<MEDFileField1TS *>(f1tsPtr));
- MEDFileIntField1TS *f1tsPtrInt(dynamic_cast<MEDFileIntField1TS *>(f1tsPtr));
+ MEDFileInt32Field1TS *f1tsPtrInt(dynamic_cast<MEDFileInt32Field1TS *>(f1tsPtr));
+ MEDFileInt64Field1TS *f1tsPtrInt64(dynamic_cast<MEDFileInt64Field1TS *>(f1tsPtr));
MEDFileFloatField1TS *f1tsPtrFloat(dynamic_cast<MEDFileFloatField1TS *>(f1tsPtr));
DataArray *crudeArr(0),*postProcessedArr(0);
if(f1tsPtrDbl)
crudeArr=f1tsPtrDbl->getUndergroundDataArray();
else if(f1tsPtrInt)
crudeArr=f1tsPtrInt->getUndergroundDataArray();
+ else if(f1tsPtrInt64)
+ crudeArr=f1tsPtrInt64->getUndergroundDataArray();
else if(f1tsPtrFloat)
crudeArr=f1tsPtrFloat->getUndergroundDataArray();
else
using MEDCoupling::MEDFileFields;
using MEDCoupling::MEDFileMeshes;
-using MEDCoupling::MEDFileIntField1TS;
+using MEDCoupling::MEDFileInt32Field1TS;
+using MEDCoupling::MEDFileInt64Field1TS;
using MEDCoupling::MEDFileField1TS;
using MEDCoupling::MEDFileIntFieldMultiTS;
using MEDCoupling::MEDFileFieldMultiTS;