From: vbd Date: Tue, 3 Jul 2007 13:57:19 +0000 (+0000) Subject: ajout INTERP_KERNEL X-Git-Tag: trio_trio_coupling~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a26c6ee2fbc5ba97b73c9d4a50c9cf409ba7ff90;p=tools%2Fmedcoupling.git ajout INTERP_KERNEL --- diff --git a/src/ParaMEDMEM/InterpolationMatrix.cxx b/src/ParaMEDMEM/InterpolationMatrix.cxx index fa99bc41a..1452d9aee 100644 --- a/src/ParaMEDMEM/InterpolationMatrix.cxx +++ b/src/ParaMEDMEM/InterpolationMatrix.cxx @@ -2,8 +2,8 @@ #include "ProcessorGroup.hxx" #include "MxN_Mapping.hxx" #include "InterpolationMatrix.hxx" -#include "INTERPOLATION_2D.hxx" -#include "INTERPOLATION_3D_surf.hxx" +#include "Interpolation2D.hxx" +#include "Interpolation3DSurf.hxx" /*! \class InterpolationMatrix This class enables the storage of an interpolation matrix Wij mapping @@ -54,11 +54,11 @@ void InterpolationMatrix::addContribution(MEDMEM::MESH& distant_support, int ipr { // computing the intersections between distant and local elements - INTERPOLATION* interpolator; + MEDMEM::Interpolation* interpolator; if (distant_support.getMeshDimension()==2 && distant_support.getSpaceDimension()==3) - interpolator=new INTERPOLATION_3D_surf(); + interpolator=new MEDMEM::Interpolation3DSurf(); else if (distant_support.getMeshDimension()==2 && distant_support.getSpaceDimension()==2) - interpolator=new INTERPOLATION_2D(); + interpolator=new MEDMEM::Interpolation2D(); int nbelems= _source_support.getNumberOfElements(MED_EN::MED_CELL,MED_EN::MED_ALL_ELEMENTS); vector > surfaces = interpolator->interpol_maillages(distant_support,_source_support);