From 5a745700c512de244f3c99466f9bc3834bed3087 Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 13 Sep 2010 10:27:56 +0000 Subject: [PATCH] *** empty log message *** --- src/INTERP_KERNEL/InterpolationOptions.hxx | 2 +- src/ParaMEDMEM/InterpKernelDEC.cxx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) 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; -- 2.39.2