X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEMTest%2Ftest_AllToAllDEC.cxx;h=e6bf3a254cc0dcd78e4c4c4a81667fdf6798e87d;hb=dcc261ea8b9015285a05b5f7bc2960d883815c9a;hp=7b082560739825e2b26f021195bbf3c2987e3012;hpb=f6956b7ffa66e61564dd166d00c3bd849f11c357;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEMTest/test_AllToAllDEC.cxx b/src/ParaMEDMEMTest/test_AllToAllDEC.cxx index 7b0825607..e6bf3a254 100644 --- a/src/ParaMEDMEMTest/test_AllToAllDEC.cxx +++ b/src/ParaMEDMEMTest/test_AllToAllDEC.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 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 @@ -34,7 +34,7 @@ #define ENABLE_FORCED_FAILURES using namespace std; -using namespace ParaMEDMEM; +using namespace MEDCoupling; void MPIAccessDECTest::test_AllToAllDECSynchronousPointToPoint() { test_AllToAllDEC( false ) ; @@ -43,7 +43,7 @@ void MPIAccessDECTest::test_AllToAllDECAsynchronousPointToPoint() { test_AllToAllDEC( true ) ; } -static void chksts( int sts , int myrank , ParaMEDMEM::MPIAccess mpi_access ) { +static void chksts( int sts , int myrank , MEDCoupling::MPIAccess mpi_access ) { char msgerr[MPI_MAX_ERROR_STRING] ; int lenerr ; if ( sts != MPI_SUCCESS ) { @@ -77,7 +77,7 @@ void MPIAccessDECTest::test_AllToAllDEC( bool Asynchronous ) { strstream << "usage :" << endl << "mpirun -np test_AllToAllDEC" << endl << " (nbprocs >=2)" << endl - << "test must be runned with more than 1 proc and less than 12 procs" + << "test must be run with more than 1 proc and less than 12 procs" << endl ; cerr << strstream.str() << endl ; CPPUNIT_FAIL( strstream.str() ) ; @@ -85,7 +85,7 @@ void MPIAccessDECTest::test_AllToAllDEC( bool Asynchronous ) { debugStream << "test_AllToAllDEC" << myrank << endl ; - ParaMEDMEM::CommInterface interface ; + MEDCoupling::CommInterface interface ; std::set sourceprocs; std::set targetprocs; int i ; @@ -96,8 +96,8 @@ void MPIAccessDECTest::test_AllToAllDEC( bool Asynchronous ) { targetprocs.insert(i); } - ParaMEDMEM::MPIProcessorGroup* sourcegroup = new ParaMEDMEM::MPIProcessorGroup(interface,sourceprocs) ; - ParaMEDMEM::MPIProcessorGroup* targetgroup = new ParaMEDMEM::MPIProcessorGroup(interface,targetprocs) ; + MEDCoupling::MPIProcessorGroup* sourcegroup = new MEDCoupling::MPIProcessorGroup(interface,sourceprocs) ; + MEDCoupling::MPIProcessorGroup* targetgroup = new MEDCoupling::MPIProcessorGroup(interface,targetprocs) ; MPIAccessDEC * MyMPIAccessDEC = new MPIAccessDEC( *sourcegroup , *targetgroup , Asynchronous ) ;