X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FBoxSplittingOptions.cxx;h=71f05e28370bc23afcb09e7c6571bdd4c76e1265;hb=f92459c4cde6b0f4a9d12e9b0361591fc514ab2c;hp=d932a482d1766559b98fbc8d1e7017c1069b9431;hpb=e7a16675696d7809cabb4663ba7bb3167f2f51f9;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/BoxSplittingOptions.cxx b/src/INTERP_KERNEL/BoxSplittingOptions.cxx index d932a482d..71f05e283 100644 --- a/src/INTERP_KERNEL/BoxSplittingOptions.cxx +++ b/src/INTERP_KERNEL/BoxSplittingOptions.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2019 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 @@ -22,24 +22,26 @@ #include -const double INTERP_KERNEL::BoxSplittingOptions::DFT_EFFECIENCY=0.5; +const double INTERP_KERNEL::BoxSplittingOptions::DFT_EFFICIENCY_GOAL=0.5; -const double INTERP_KERNEL::BoxSplittingOptions::DFT_EFFECIENCY_SND=0.5; +const double INTERP_KERNEL::BoxSplittingOptions::DFT_EFFICIENCY_THRESHOLD=0.7; void INTERP_KERNEL::BoxSplittingOptions::init() { - _effeciency=DFT_EFFECIENCY; - _effeciency_snd=DFT_EFFECIENCY_SND; - _min_cell_direction=DFT_MIN_CELL_DIRECTION; - _max_cells=DFT_MAX_CELLS; + _efficiency_goal=DFT_EFFICIENCY_GOAL; + _efficiency_threshold=DFT_EFFICIENCY_THRESHOLD; + _min_patch_length=DFT_MIN_PATCH_LENGTH; + _max_patch_length=DFT_MAX_PATCH_LENGTH; + _max_nb_cells_in_patch=DFT_MAX_PATCH_MEASURE; } std::string INTERP_KERNEL::BoxSplittingOptions::printOptions() const { std::ostringstream oss; - oss << "Efficiency threshold: " << 100*_effeciency << "%"<< std::endl; - oss << "Efficiency Snd threshold: " << 100*_effeciency_snd << "%"<< std::endl; - oss << "Min. box side length: " << _min_cell_direction << std::endl; - oss << "Max. box cells : " << _max_cells << std::endl; + oss << "Efficiency goal: " << 100*_efficiency_goal << "%" << std::endl; + oss << "Efficiency threshold: " << 100*_efficiency_threshold << "%" << std::endl; + oss << "Min. patch side length: " << _min_patch_length << std::endl; + oss << "Max. patch side length: " << _max_patch_length << std::endl; + oss << "Max. patch measure: " << _max_nb_cells_in_patch << std::endl; return oss.str(); }