vtkIdType aDataType = VTK_DOUBLE;
SALOME_MED::FIELDDOUBLE_ptr aFieldDouble = SALOME_MED::FIELDDOUBLE::_narrow(myField);
if(aFieldDouble->_is_nil())
- aDataType = VTK_INT;
+ aDataType = VTK_LONG;
aField->Init(myField->getNumberOfComponents(), aDataType);
if(MYDEBUG) MESSAGE("VISU_MEDFieldConvertor::Build - aMeshName = "<<aMeshName<<"; myDim = "<<aMesh->myDim);
vtkIdType aDataType = VTK_DOUBLE;
SALOME_MED::FIELDDOUBLE_ptr aFieldDouble = SALOME_MED::FIELDDOUBLE::_narrow(aMEDField);
if(aFieldDouble->_is_nil())
- aDataType = VTK_INT;
+ aDataType = VTK_LONG;
aField->Init(aMEDField->getNumberOfComponents(), aDataType);
if(MYDEBUG)
vtkIdType aDataType = VTK_DOUBLE;
SALOME_MED::FIELDDOUBLE_ptr aFieldDouble = SALOME_MED::FIELDDOUBLE::_narrow(aMEDField);
if(aFieldDouble->_is_nil())
- aDataType = VTK_INT;
+ aDataType = VTK_LONG;
aField->Init(aMEDField->getNumberOfComponents(), aDataType);
aFieldMap[aFieldName.in()] = aField;