X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCouplingCorba%2FClient%2FMEDCouplingFieldDoubleClient.cxx;h=8dc1b414be254b6cd537ce29f8126337bf1f5ec1;hb=bb9014c6fe3e097edd7009a00dc56f514c680365;hp=b0bc13be90d0b439653dd42310c5db23369ea846;hpb=b4921675e99acce1553ae3235e120b281f780b2c;p=modules%2Fmed.git diff --git a/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx b/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx index b0bc13be9..8dc1b414b 100644 --- a/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx +++ b/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -24,7 +24,7 @@ #include -using namespace ParaMEDMEM; +using namespace MEDCoupling; MEDCouplingFieldDouble *MEDCouplingFieldDoubleClient::New(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr fieldPtr) { @@ -36,7 +36,7 @@ MEDCouplingFieldDouble *MEDCouplingFieldDoubleClient::New(SALOME_MED::MEDCouplin //1st CORBA call : getting all tiny info of all types (int, double string). fieldPtr->getTinyInfo(tinyL,tinyD,tinyS); int tinyLgth=tinyL->length(); - std::vector tinyLV(tinyLgth); + std::vector tinyLV(tinyLgth); for(int i=0;isetMesh(mesh); mesh->decrRef(); - DataArrayInt *array0; + DataArrayIdType *array0; std::vector arrays; ret->resizeForUnserialization(tinyLV,array0,arrays); SALOME_TYPES::ListOfLong *bigArr0; SALOME_TYPES::ListOfDouble2 *bigArr; - //3rd CORBA invokation to get big content + //3rd CORBA invocation to get big content fieldPtr->getSerialisationData(bigArr0,bigArr); if(bigArr0->length()!=0) { - int *pt=array0->getPointer(); - int lgth=array0->getNbOfElems(); - for(int i=0;igetPointer(); + mcIdType lgth=array0->getNbOfElems(); + for(mcIdType i=0;i