using MEDCoupling::MEDCouplingFieldDouble;
using MEDCoupling::MEDCouplingFieldFloat;
using MEDCoupling::MEDCouplingFieldInt;
+using MEDCoupling::MEDCouplingFieldInt64;
using MEDCoupling::MCAuto;
using MEDCoupling::Traits;
using MEDCoupling::MLFieldTraits;
if((fieldName!=FAMFIELD_FOR_CELLS || tf!=MEDCoupling::ON_CELLS) && (fieldName!=FAMFIELD_FOR_NODES || tf!=MEDCoupling::ON_NODES))
{
if(!dai)
- throw MZCException("AppendMCFieldFrom : internal error 3 (not int32) !");
- AppendToFields<int>(tf,mesh,n2oPtr,dai,fs,timeStep,tsId);
+ AppendToFields<mcIdType>(tf,mesh,n2oPtr,daId,fs,timeStep,tsId);
+ else
+ AppendToFields<int>(tf,mesh,n2oPtr,dai,fs,timeStep,tsId);
return ;
}
else if(fieldName==FAMFIELD_FOR_CELLS && tf==MEDCoupling::ON_CELLS)
if(!arr)
continue;
const char *name(arr->GetName());
- //int nbCompo(arr->GetNumberOfComponents());
+ //int nbCompo(arr->GetNumberOfComponents()); // todo: unused
//vtkIdType nbTuples(arr->GetNumberOfTuples()); // todo: unused
MCAuto<DataArray> mcarr(ConvertVTKArrayToMCArray(arr));
if(part)
#include "MEDCouplingFieldDouble.hxx"
#include "MEDCouplingFieldFloat.hxx"
#include "MEDCouplingFieldInt.hxx"
+#include "MEDCouplingFieldInt64.hxx"
#include "MEDFileData.hxx"
#include "MEDFileField.hxx"
#include "MEDFileMesh.hxx"