From: eap Date: Mon, 13 Aug 2012 11:04:53 +0000 (+0000) Subject: 0021797: EDF 2343 SMESH: Evaluation of meshes give very different results compared... X-Git-Tag: V6_6_0a1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93f3366649de79558d09d8f65e6eed36aad2a3f5;p=plugins%2Fblsurfplugin.git 0021797: EDF 2343 SMESH: Evaluation of meshes give very different results compared to real results --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 166b998..86ebb0e 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -2338,6 +2338,11 @@ bool BLSURFPlugin_BLSURF::Evaluate(SMESH_Mesh& aMesh, //_angleMeshS = hyp->GetAngleMeshS(); _angleMeshC = _hypothesis->GetAngleMeshC(); _quadAllowed = _hypothesis->GetQuadAllowed(); + } else { + //0020968: EDF1545 SMESH: Problem in the creation of a mesh group on geometry + // GetDefaultPhySize() sometimes leads to computation failure + _phySize = aMesh.GetShapeDiagonalSize() / _gen->GetBoundaryBoxSegmentation(); + MESSAGE("BLSURFPlugin_BLSURF::SetParameters using defaults"); } bool IsQuadratic = false;