X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEMTest%2Ftest_MPI_Access_Time.cxx;h=73d0e6ce9159ab7820acb4b808961ffa46e766b4;hb=c4551c56aa89896595842e5b41b048044681b4e8;hp=166af2e741348d3aeb7f592222b47618ff9ce4a6;hpb=5c6811ca3dc90c90131f4ccb297458dd7c178ee4;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEMTest/test_MPI_Access_Time.cxx b/src/ParaMEDMEMTest/test_MPI_Access_Time.cxx index 166af2e74..73d0e6ce9 100644 --- a/src/ParaMEDMEMTest/test_MPI_Access_Time.cxx +++ b/src/ParaMEDMEMTest/test_MPI_Access_Time.cxx @@ -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 @@ -38,7 +38,7 @@ #define ENABLE_FORCED_FAILURES using namespace std; -using namespace ParaMEDMEM; +using namespace MEDCoupling; void MPIAccessTest::test_MPI_Access_Time() { @@ -53,7 +53,7 @@ void MPIAccessTest::test_MPI_Access_Time() { if ( size < 2 ) { ostringstream strstream ; - strstream << "test_MPI_Access_Time must be runned with 2 procs" << endl ; + strstream << "test_MPI_Access_Time must be run with 2 procs" << endl ; cerr << strstream.str() << endl ; //CPPUNIT_FAIL( strstream.str() ) ; return; @@ -61,11 +61,11 @@ void MPIAccessTest::test_MPI_Access_Time() { debugStream << "test_MPI_Access_Time" << myrank << endl ; - ParaMEDMEM::CommInterface interface ; + MEDCoupling::CommInterface interface ; - ParaMEDMEM::MPIProcessorGroup* group = new ParaMEDMEM::MPIProcessorGroup(interface) ; + MEDCoupling::MPIProcessorGroup* group = new MEDCoupling::MPIProcessorGroup(interface) ; - ParaMEDMEM::MPIAccess mpi_access( group ) ; + MEDCoupling::MPIAccess mpi_access( group ) ; #define maxreq 10 @@ -87,8 +87,8 @@ void MPIAccessTest::test_MPI_Access_Time() { int sendbuf[maxreq] ; int recvbuf[maxreq] ; int i = 0 ; - ParaMEDMEM::TimeMessage aSendTimeMsg[maxreq] ; - ParaMEDMEM::TimeMessage aRecvTimeMsg[maxreq] ; + MEDCoupling::TimeMessage aSendTimeMsg[maxreq] ; + MEDCoupling::TimeMessage aRecvTimeMsg[maxreq] ; double t ; double dt = 1. ; double maxt = 10. ;