-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020 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
MEDCoupling::MPIProcessorGroup target_group(interface,3,size-1);
MEDCoupling::MPIProcessorGroup source_group (interface,0,2);
- MEDCoupling::MEDCouplingUMesh* mesh;
- MEDCoupling::ParaMESH* paramesh;
- MEDCoupling::ParaFIELD* parafield;
+ MEDCoupling::MEDCouplingUMesh* mesh = nullptr;
+ MEDCoupling::ParaMESH* paramesh = nullptr;
+ MEDCoupling::ParaFIELD* parafield = nullptr;
string filename_xml1 = INTERP_TEST::getResourceFile("square1_split");
string filename_2 = INTERP_TEST::getResourceFile("square1.med");
parafield = new ParaFIELD(ON_CELLS,NO_TIME,paramesh, comptopo);
int nb_local=mesh->getNumberOfCells();
- const int* global_numbering = paramesh->getGlobalNumberingCell();
+ const mcIdType* global_numbering = paramesh->getGlobalNumberingCell();
double *value=parafield->getField()->getArray()->getPointer();
for(int ielem=0; ielem<nb_local;ielem++)