-// Copyright (C) 2007-2021 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
* \param [in] braNodes - nodes of the branch
* \param [in] nodeIndex - index of a node of the branch
* \param [inout] mesh - mesh holding the nodes and segments
- *
- *
*/
//================================================================================
: _mesh ( helper.GetMesh() ),
_shape( helper.GetSubShape() ),
_helper( *_mesh ),
- _isQuadratic( helper.GetIsQuadratic() )
+ _isQuadratic( helper.GetIsQuadratic() ),
+ _nodeTag0( 0 )
{
if ( !hyp || !_mesh || hyp->GetEnforcedMeshes().empty() )
return;
SMESH_Mesh* mesh1D;
SMDS_ElemIteratorPtr segIt = theHyp->GetEnforcedSegments( theEnfMesh, mesh1D );
if ( !segIt->more() )
- return;
+ throw SALOME_Exception("No edges in an enforced mesh");
// setup predicates to detect nodes on FACE boundary
setupPredicates( theShape );