From 93f3366649de79558d09d8f65e6eed36aad2a3f5 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 13 Aug 2012 11:04:53 +0000 Subject: [PATCH] 0021797: EDF 2343 SMESH: Evaluation of meshes give very different results compared to real results --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.2