if(MYDEBUG) MESSAGE("GetCellsSize - iGeomElemEnd = "<<iGeomElemEnd);
for (int iGeomElem = 0; iGeomElem < iGeomElemEnd; iGeomElem++) {
SALOME_MED::medGeometryElement aGeomType = aGeom[iGeomElem];
- Engines::long_array_var aCellNumForType = theMEDFamily->getNumber(aGeomType);
+ SALOME_MED::long_array_var aCellNumForType = theMEDFamily->getNumber(aGeomType);
int medId = GetIdMEDType(aGeomType);
med_int iNumElemEnd = aCellNumForType->length();
if(iNumElemEnd > 0){
if(MYDEBUG) MESSAGE("LoadPoints - iNumElemEnd = "<<iNumElemEnd);
if (iNumElemEnd <= 0) throw std::runtime_error("LoadPoints >> There is no points in the mesh !!!");
aPointsCoord.resize(theMesh.myDim*iNumElemEnd,0.0);
- Engines::double_array_var coord = aMedMesh->getCoordinates(SALOME_MED::MED_FULL_INTERLACE);
+ SALOME_MED::double_array_var coord = aMedMesh->getCoordinates(SALOME_MED::MED_FULL_INTERLACE);
if(!isPointsLoaded){
for (int iNumElem = 0; iNumElem < iNumElemEnd; iNumElem++)
for(int iDim = 0, iNumElem2Dim = iNumElem*theMesh.myDim; iDim < theMesh.myDim; iDim++, iNumElem2Dim++)
SALOME_MED::FAMILY_var aMedFamily = aFamily2.myFamily;
VISU::TFamily::TSubMeshOnCellType& aSubMeshOnCellType = aFamily.mySubMesh[VTK_VERTEX];
SALOME_MED::medGeometryElement_array_var aGeom = aMedFamily->getTypes();
- Engines::long_array_var aCellNumForType = aMedFamily->getNumber(aGeom[0]);
+ SALOME_MED::long_array_var aCellNumForType = aMedFamily->getNumber(aGeom[0]);
int iNumElemEndTmp = iNumElemEnd;
iNumElemEnd = aCellNumForType->length();
for (int iNumElem = 0; iNumElem < iNumElemEnd; iNumElem++) {
SALOME_MED::medGeometryElement aMedType = salome_med2vtk[medId].medType;
med_int iNumElemEnd = aMedMesh->getNumberOfElements(aMedEntity,aMedType);
if (iNumElemEnd > 0) {
- Engines::long_array_var conn =
+ SALOME_MED::long_array_var conn =
aMedMesh->getConnectivity(SALOME_MED::MED_FULL_INTERLACE,SALOME_MED::MED_NODAL,aMedEntity,aMedType);
VISU::TMeshOnEntity::TConnForCellType& aConnForCellType = theMeshOnEntity.myCellsConn[aVtkType];
//APO - aConnForCellType.resize(iNumElemEnd);
if(MYDEBUG) MESSAGE("LoadCellsOnEntity - iGeomElemEnd = "<<iGeomElemEnd);
for (int iGeomElem = 0; iGeomElem < iGeomElemEnd; iGeomElem++) {
SALOME_MED::medGeometryElement aGeomType = aGeom[iGeomElem];
- Engines::long_array_var aCellNumForType = aMedFamily->getNumber(aGeomType);
+ SALOME_MED::long_array_var aCellNumForType = aMedFamily->getNumber(aGeomType);
int medId = GetIdMEDType(aGeomType);
int aVtkType = salome_med2vtk[medId].vtkType;
SALOME_MED::medGeometryElement aMedType = salome_med2vtk[medId].medType;
//Main part of code
SALOME_MED::FIELDDOUBLE_ptr aFieldDouble = SALOME_MED::FIELDDOUBLE::_narrow(aMEDField);
if(!aFieldDouble->_is_nil()){
- Engines::double_array_var anArray = aFieldDouble->getValue(SALOME_MED::MED_FULL_INTERLACE);
+ SALOME_MED::double_array_var anArray = aFieldDouble->getValue(SALOME_MED::MED_FULL_INTERLACE);
if(MYDEBUG) MESSAGE("VISU_MEDConvertor::LoadField - There is FIELDDOUBLE = "<<anArray->length());
::ImportField(anArray,aMesh,theField,theValForTime,theMeshOnEntity,aMeshOnEntity2);
}
SALOME_MED::FIELDINT_ptr aFieldInt = SALOME_MED::FIELDINT::_narrow(aMEDField);
if(!aFieldInt->_is_nil()){
- Engines::long_array_var anArray = aFieldInt->getValue(SALOME_MED::MED_FULL_INTERLACE);
+ SALOME_MED::long_array_var anArray = aFieldInt->getValue(SALOME_MED::MED_FULL_INTERLACE);
if(MYDEBUG) MESSAGE("VISU_MEDConvertor::LoadField - There is FIELDINT = "<<anArray->length());
::ImportField(anArray,aMesh,theField,theValForTime,theMeshOnEntity,aMeshOnEntity2);
}