X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDPartitioner%2FMEDPARTITIONER_Utils.hxx;h=6a469b5974505197ea1ada92e5529176b3c72bce;hb=b7e277ad50223814bc479c5bd64cf12abe8fc959;hp=64fc0c2b9d8099a187521f86a57cd1070416bb9e;hpb=1ca2b215a1ae474745fabc87dd9c5c98e9af6354;p=tools%2Fmedcoupling.git diff --git a/src/MEDPartitioner/MEDPARTITIONER_Utils.hxx b/src/MEDPartitioner/MEDPARTITIONER_Utils.hxx index 64fc0c2b9..6a469b597 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_Utils.hxx +++ b/src/MEDPartitioner/MEDPARTITIONER_Utils.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 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 @@ -77,13 +77,13 @@ namespace MEDPARTITIONER MEDPARTITIONER_EXPORT void FieldShortDescriptionToData(const std::string& description, std::string& fieldName, int& typeField, int& entity, int& DT, int& IT); - ParaMEDMEM::DataArrayInt *CreateDataArrayIntFromVector(const std::vector& v); - ParaMEDMEM::DataArrayInt *CreateDataArrayIntFromVector(const std::vector& v, const int nbComponents); - ParaMEDMEM::DataArrayDouble *CreateDataArrayDoubleFromVector(const std::vector& v); + MEDCoupling::DataArrayInt *CreateDataArrayIntFromVector(const std::vector& v); + MEDCoupling::DataArrayInt *CreateDataArrayIntFromVector(const std::vector& v, const int nbComponents); + MEDCoupling::DataArrayDouble *CreateDataArrayDoubleFromVector(const std::vector& v); - ParaMEDMEM::MEDCouplingUMesh *CreateEmptyMEDCouplingUMesh(); + MEDCoupling::MEDCouplingUMesh *CreateEmptyMEDCouplingUMesh(); - std::vector BrowseFieldDouble(const ParaMEDMEM::MEDCouplingFieldDouble* fd); + std::vector BrowseFieldDouble(const MEDCoupling::MEDCouplingFieldDouble* fd); std::vector BrowseAllFields(const std::string& myfile); std::vector BrowseAllFieldsOnMesh(const std::string& myfile, const std::string& mymesh, const int idomain); std::vector GetInfosOfField(const char *fileName, const char *meshName, const int idomain ); @@ -104,10 +104,10 @@ namespace MEDPARTITIONER std::vector* RecvIntVec(int source); void RecvIntVec(std::vector& vec, const int source); - void SendDataArrayInt(const ParaMEDMEM::DataArrayInt* da, const int target); - ParaMEDMEM::DataArrayInt *RecvDataArrayInt(const int source); - void SendDataArrayDouble(const ParaMEDMEM::DataArrayDouble* da, const int target); - ParaMEDMEM::DataArrayDouble *RecvDataArrayDouble(const int source); + void SendDataArrayInt(const MEDCoupling::DataArrayInt* da, const int target); + MEDCoupling::DataArrayInt *RecvDataArrayInt(const int source); + void SendDataArrayDouble(const MEDCoupling::DataArrayDouble* da, const int target); + MEDCoupling::DataArrayDouble *RecvDataArrayDouble(const int source); void TestVectorOfStringMpi(); void TestMapOfStringIntMpi();