diff --git a/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp b/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp index 47f45593df..0e0f662b92 100644 --- a/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp +++ b/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp @@ -183,7 +183,7 @@ NETGENPlugin_Mesher::NETGENPlugin_Mesher (SMESH_Mesh* mesh, //================================================================================ /*! - * Destuctor + * Destructor */ //================================================================================ @@ -1329,7 +1329,7 @@ namespace struct TIntVData { gp_XY uv; //!< UV in face parametric space - int ngId; //!< ng id of corrsponding node + int ngId; //!< ng id of corresponding node gp_XY uvClose; //!< UV of closest boundary node int ngIdClose; //!< ng id of closest boundary node }; @@ -1985,7 +1985,7 @@ NETGENPlugin_Mesher::AddSegmentsToMesh(netgen::Mesh& ngMesh, netgen::Segment& prevSeg = ngMesh.LineSegment( i-1 ); if ( seg[0] == prevSeg[1] && seg[1] == prevSeg[0] ) { - cout << "Segment: " << seg.edgenr << std::endl << "\tis REVRESE of the previous one" << std::endl; + cout << "Segment: " << seg.edgenr << std::endl << "\tis REVERSE of the previous one" << std::endl; continue; } } @@ -2046,7 +2046,7 @@ int NETGENPlugin_Mesher::FillSMesh(const netgen::OCCGeometry& occgeo, // quadHelper is used for either // 1) making quadratic elements when a lower dimension mesh is loaded - // to SMESH before convertion to quadratic by NETGEN + // to SMESH before conversion to quadratic by NETGEN // 2) sewing of quadratic elements with quadratic elements of sub-meshes if ( quadHelper && !quadHelper->GetIsQuadratic() && quadHelper->GetTLinkNodeMap().empty() ) quadHelper = 0; @@ -2511,7 +2511,7 @@ bool NETGENPlugin_Mesher::Compute() { // not to RestrictLocalH() according to curvature during MESHCONST_ANALYSE mparams.uselocalh = false; - mparams.grading = 0.8; // not limitited size growth + mparams.grading = 0.8; // not limited size growth if ( _simpleHyp->GetNumberOfSegments() ) // nb of segments @@ -2977,18 +2977,18 @@ bool NETGENPlugin_Mesher::Compute() if(netgen::multithread.terminate) return false; - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << text(err); } catch (Standard_Failure& ex) { - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << text(ex); err = 1; } catch (netgen::NgException exc) { - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << text(exc); err = 1; } @@ -3015,17 +3015,17 @@ bool NETGENPlugin_Mesher::Compute() if(netgen::multithread.terminate) return false; - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << text(err); } catch (Standard_Failure& ex) { - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << text(ex); } catch (netgen::NgException exc) { - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << text(exc); } } @@ -3058,12 +3058,12 @@ bool NETGENPlugin_Mesher::Compute() } catch (Standard_Failure& ex) { - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << "Exception in netgen at passing to 2nd order "; } catch (netgen::NgException exc) { - if ( comment.empty() ) // do not overwrite a previos error + if ( comment.empty() ) // do not overwrite a previous error comment << exc.What(); } } @@ -3202,7 +3202,7 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap) { // not to RestrictLocalH() according to curvature during MESHCONST_ANALYSE mparams.uselocalh = false; - mparams.grading = 0.8; // not limitited size growth + mparams.grading = 0.8; // not limited size growth if ( _simpleHyp->GetNumberOfSegments() ) // nb of segments @@ -3380,9 +3380,9 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap) int nb1d = 0; if ( !tooManyElems ) { - TopTools_MapOfShape egdes; + TopTools_MapOfShape edges; for (TopExp_Explorer exp1(F,TopAbs_EDGE); exp1.More(); exp1.Next()) - if ( egdes.Add( exp1.Current() )) + if (edges.Add(exp1.Current())) nb1d += Edge2NbSeg.Find(exp1.Current()); } int nbFaces = tooManyElems ? hugeNb : int( 4*anArea / (mparams.maxh*mparams.maxh*sqrt(3.))); @@ -3790,7 +3790,7 @@ NETGENPlugin_Internals::NETGENPlugin_Internals( SMESH_Mesh& mesh, { _intShapes.insert( meshDS->ShapeToIndex( f.Current() )); - // egdes + // edges list< TopoDS_Shape > edges; for ( e.Init( f.Current(), TopAbs_EDGE ); e.More(); e.Next()) if ( SMESH_MesherHelper::NbAncestors( e.Current(), mesh, TopAbs_FACE ) > 1 )