X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEMTest%2Ftest_perf.cxx;h=2250280c06bff89b121e3f32c1c3df92cced10b4;hb=5f6d7861933f9c7596059d7a847e58624e177216;hp=413b363cf775d980f3bdacc245ad0236629a95e2;hpb=10f37bf6f33a762626d7f1093b2f5450c1688667;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEMTest/test_perf.cxx b/src/ParaMEDMEMTest/test_perf.cxx index 413b363cf..2250280c0 100644 --- a/src/ParaMEDMEMTest/test_perf.cxx +++ b/src/ParaMEDMEMTest/test_perf.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D +// Copyright (C) 2007-2015 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 // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -149,7 +149,7 @@ void testInterpKernelDEC_2D(const string& filename_xml1, const string& meshname1 ParaMEDMEM::MEDCouplingUMesh* mesh; ParaMEDMEM::ParaMESH* paramesh; ParaMEDMEM::ParaFIELD* parafield; - ICoCo::Field* icocofield ; + ICoCo::MEDField* icocofield ; // To remove tmp files from disk ParaMEDMEMTest_TmpFilesRemover aRemover; @@ -187,7 +187,7 @@ void testInterpKernelDEC_2D(const string& filename_xml1, const string& meshname1 for(int ielem=0; ielemgetCellMesh(),parafield->getField()); + icocofield=new ICoCo::MEDField(parafield->getField()); dec.attachLocalField(icocofield); } @@ -219,7 +219,7 @@ void testInterpKernelDEC_2D(const string& filename_xml1, const string& meshname1 double *value=parafield->getField()->getArray()->getPointer(); for(int ielem=0; ielemgetCellMesh(),parafield->getField()); + icocofield=new ICoCo::MEDField(parafield->getField()); dec.attachLocalField(icocofield); }