From: ageay Date: Mon, 13 Sep 2010 10:27:56 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_main_FINAL~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a745700c512de244f3c99466f9bc3834bed3087;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/INTERP_KERNEL/InterpolationOptions.hxx b/src/INTERP_KERNEL/InterpolationOptions.hxx index 92f483c35..667e320b6 100644 --- a/src/INTERP_KERNEL/InterpolationOptions.hxx +++ b/src/INTERP_KERNEL/InterpolationOptions.hxx @@ -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); diff --git a/src/ParaMEDMEM/InterpKernelDEC.cxx b/src/ParaMEDMEM/InterpKernelDEC.cxx index 185b74e66..6c4674f84 100644 --- a/src/ParaMEDMEM/InterpKernelDEC.cxx +++ b/src/ParaMEDMEM/InterpKernelDEC.cxx @@ -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;