SALOME_TESTS/Grids/smesh/bugs_03/D9

In updateDegenUV(), set same nb of segments on a degenerated EDGE
    NOT only at standard transition, to avoid failure because of
    "Inverted elements generated" reported for zero-area triangles.
This commit is contained in:
eap 2014-04-17 20:46:23 +04:00
parent 5c5fea746a
commit faaf2eee1d

View File

@ -3848,7 +3848,7 @@ void StdMeshers_Quadrangle_2D::updateDegenUV(FaceQuadStruct::Ptr quad)
uv1.v = uv2.v = 0.5 * ( uv1.v + uv2.v ); uv1.v = uv2.v = 0.5 * ( uv1.v + uv2.v );
} }
else if ( quad->side.size() == 4 && myQuadType == QUAD_STANDARD) else if ( quad->side.size() == 4 /*&& myQuadType == QUAD_STANDARD*/)
// Set number of nodes on a degenerated side to be same as on an opposite side // Set number of nodes on a degenerated side to be same as on an opposite side
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------