]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message ***
authorageay <ageay>
Mon, 13 Sep 2010 10:27:56 +0000 (10:27 +0000)
committerageay <ageay>
Mon, 13 Sep 2010 10:27:56 +0000 (10:27 +0000)
src/INTERP_KERNEL/InterpolationOptions.hxx
src/ParaMEDMEM/InterpKernelDEC.cxx

index 92f483c357a33fea0e547336ecbf4edb245f5b6a..667e320b69da80251b82cd285820daca285d952d 100644 (file)
@@ -118,7 +118,7 @@ namespace INTERP_KERNEL
                                  bool measure_abs,
                                  std::string splitting_policy,
                                  bool P1P0_bary_method );
-    void copyOptions(InterpolationOptions & other) { *this = other; }
+    void copyOptions(const InterpolationOptions & other) { *this = other; }
     bool setOptionDouble(const std::string& key, double value);
     bool setOptionInt(const std::string& key, int value);
     bool setOptionString(const std::string& key, const std::string& value);
index 185b74e66df97084037fe5943665620e397e69c6..6c4674f84131a47b74610fd43cab19a6158dc5a7 100644 (file)
@@ -159,10 +159,8 @@ namespace ParaMEDMEM
       {
         //locate the distant meshes
         ElementLocator locator(*_local_field, *_target_group, *_source_group);
-
-        //transfering option from InterpKernelDEC to ElementLocator                 
-        locator.setBoundingBoxAdjustment(getBoundingBoxAdjustment());
-
+        //transfering option from InterpKernelDEC to ElementLocator   
+        locator.copyOptions(*this);
         MEDCouplingPointSet* distant_mesh=0; 
         int* distant_ids=0;
         std::string distantMeth;